permissions required group node
mac执行npm或yarn命令时报Error: EACCES: permission denied,
npm下载的时候会告知权限没有 这是由于之前使用了sudo去下载一些东西,导致文件拥有者都变成了root,只需要修改权限即可。 Error: EACCES: permission denied, symlink ‘…/lib/node_modules/json-server/lib/cli/bin. ......
ubuntu pip is configured with locations that require TLS/SSL
使用 pip 时 出现 pip is configured with locations that require TLS/SSL 是因为在编译时候没有加上开启 SSL 的参数,现在大部分的网络链接为了安全,都开启了 SSL 加密,常见的有 HTTPS 。 加上 --with-openssl=/us ......
pip install -r requirements.txt安装问题
## pip install -r requirements.txt安装问题 ### 一、requirements.txt介绍: 1. python项目中必须包含一个 requirements.txt 文件,用于记录所有依赖包及其精确的版本号。以便新环境部署。 requirements.txt可以通 ......
解决k8s master节点上部署calico网络node节点一直NotReady状态的问题
## 解决k8s master节点上部署calico网络node节点一直NotReady状态的问题 > //20230707 最近在学习k8s,跟着书上的步骤搭建k8s集群,其中出了很多的问题,在此记录一下 ### 镜像pull不下来 > 安装k8s的过程中需要拉取很多的docker镜像,但是doc ......
node js 版本更新
# 简介 RT # 命令 ``` sudo npm cache clean -f sudo npm install -g n sudo n stable ``` # 参考链接 https://askubuntu.com/questions/426750/how-can-i-update-my-nod ......
【vue-问题】vue : 无法加载文件 D:\Program Files\nodejs\node_global\vue.ps1,因为在此系统上禁止运行脚本
【vue-问题】vue : 无法加载文件 D:\Program Files\nodejs\node_global\vue.ps1,因为在此系统上禁止运行脚本。解决方法:①:管理员方式运行PowerShell,输入get-ExecutionPolicy。如果它回复Restricted,表示是禁止的②: ......
Codeforces Round 840 E - Node Pairs
# E - Node Pairs 题目链接:[E - Node Pairs](https://codeforces.com/contest/1763/problem/E "E - Node Pairs") ## 题意 题意晦涩难懂,但理解了之后就发现是让计算两个值: 1.最小的n使得一个具有n个点的 ......
VSCode如何通过Ctrl+P快速打开node_modules中的文件
咱们新建一个NodeJS项目,必然会安装许多依赖包,因此经常需要查阅某些依赖包的源码文件。但是,由于node_modules目录包含的文件太多,出于性能考虑,在VSCode中默认情况下是禁止搜索node_modules目录的。在这种情况下,我们将不得不依次展开node_modules的文件目录树,来... ......
How To Fix the ERR_OSSL_EVP_UNSUPPORTED Error in Node.js
Fix the ERR_OSSL_EVP_UNSUPPORTED Error There are two ways to fix the ERR_OSSL_EVP_UNSUPPORTED error: Upgrade Node.js by downloading and installing the ......
22.hash、domain、nextTick、ref、require
1.hash 默认使用hash模式,url会自带#。另一种模式history模式,url不带#。 //router/index.js const router = new Router({ routes, // vue-router默认使用hash模式,所以在路由加载的时候,项目中的url会自带#。 ......
图片什么时候使用require?看懂图片路径寻找规则
1.图片什么时候使用require? 当需要使用任何js操作时需要使用require,包括不限于定义在data和js文件中作为变量、使用v-bind:src操作符时。 2.看懂图片路径寻找规则 情况1:当项目没有配置基本路径时,图片获取路径为<img src='/static/img/1.png>, ......
linq left join group by count组合统计,防止count()为null结果为1的错误。
原生sql select car.id,carnum,count(carplan.carid) as timeLen from tab_car as car join tab_inComeType as income on car.inComeTypeId=income.Id and inComeT ......
19.19 RAC安装 35074478 补丁(ORA-800 / Set Priority / DB Performance Merge Patch for 19.19 (Requires Root Access) - 34286265 34318125)
0、一套新安装的19.19 RAC, orachk报告显示GI和DB没有安装 34286265 和 34318125 这两个补丁,不满足ORACLE最佳实践。 如果不安装这两个补丁,则数据库可能会遭遇ORA-00800错误,后台进程无法正确设置优化级。 通过MOS查询发现, 34286265 和 3 ......
nvm安装node.js总结
nvm安装node.js总结 什么是nvm? nvm(Node.js version manager) 是一个命令行应用,可以协助您快速地 更新、安装、使用、卸载 本机的全局 node.js 版本。 为什么要用nvm? 有时候,我们可能同时在进行多个项目开发,而多个项目所使用的node版本又是不一样 ......
linux安装node
**1. 下载node** 去[nodejs官网](https://nodejs.org/en/download)下载最新版本 ; // const server=http.createServer((req,res)=>{ // if(req.url '/'){ // res.write('hello world') // r ......
NVM-windows 管理 node.js 版本完全指南
## 前言 nvm 是什么? - 通过 nvm 可以控制自己的 node 版本, 方便我们对不同项目的 node 版本随意切换 什么是 nvm-windows? - 是 nvm 的 windows 版本 ## 安装 可以使用 npm 安装也可以手动安装, **这里推荐手动安装** ### 手动安装 ......
利用ansible批量部署node客户端,并注册consul,实现主机自动发现
1.在管理机器上搭建consul 并上传 node_exoporter软件包 ,system服务配置文件,注册脚本 2.利用ansible对指定机器去分发软件包并启动服务,并curl 注册到consul 编写为node-exporter.yml 3.prometheus配置consul地址,获取主机 ......
Element-plus按需导入报错:Error: Cannot find module 'node:module'
## 1.问题 1. vue3项目使用ElementPlus组件库,配置按需导入: 2. 首先安装`unplugin-vue-components` 和 `unplugin-auto-import`这两款插件 ```bash npm install -D unplugin-vue-component ......
vue项目报错:Node.js v18.16.1 error Command failed with exit code 1.
原因: 把node升级到了最新的长期支持版18.16.1,结果运行vue项目启动失败,报错如下:  试了各种办法都解 ......
python 导入错误 ImportError: Unable to import required dependencies: numpy
python 导入错误 ImportError: Unable to import required dependencies: numpy python3.9对应的numpy版本 参考: https://blog.csdn.net/guigenyi/article/details/12624848 ......
elasticsearch group sum top 10
``` { "version": true, "size": 0, "sort": [ { "request_length": { "order": "desc", "unmapped_type": "boolean" } } ], "stored_fields": [ "*" ], "script ......
mysql only_full_group_by
Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jfb_cashier_fb.pt.third_party_id' which is not functionally ......
Node.js下载安装及环境配置+vue配置
[TOC] #### 一、官网下载 https://nodejs.org/zh-cn/download/ 选择对应你系统的Node.js版本,这里我选择的是Windows系统、64位 ; ^ Error: error:0308010C:digita ......
Property ‘sqlSessionFactory‘ or ‘sqlSessionTemplate‘ are required 问题解决
### 以下是报错日志  ### 解决方案 **确认以下配置是否都存在:** #### 1、配置文件有写myb ......
【差分 Trick】CF626F Group Projects
模拟赛垫底哥来补题了。 先排序,考虑到原来的弱智状态难以描述,我们可以这样写: $f_{i, j, k}$ 表示前 $i$ 个,$j$ 段未闭合,目前的不协调值为 $k$。 然后喜提 $n^2 \sum a_i$ 的时间复杂的。 然后就是经典 trick time,这个可以看作很多线段。然后 $a_ ......
OGG-02912 Patch 17030189 is required on your Oracle mining database for trail format RELEASE 12.2 or later (Doc ID 2304095.1)
There will be a script "prvtlmpg.plb" under gg home directory [oracle@OGGR2-1 ogg]$ ls -lrt prvtlmpg.plb -rw-r 1 oracle oinstall 9487 May 27 2015 prvt ......
100W数据去重,用distinct还是group by
京东太狠:100W数据去重,用distinct还是group by,说说理由? 原创 40岁老架构师尼恩 技术自由圈 2023-06-04 11:37 发表于广东 收录于合集#面试题86个 技术自由圈 疯狂创客圈(技术自由架构圈):一个 技术狂人、技术大神、高性能 发烧友 圈子。圈内一大波顶级高手、 ......
Python报错 | TypeError: descriptor 'date' requires a 'datetime.datetime' object but received a 'int'
**报错信息** 使用python创建一个datetime.data类的时候,报如下错误: ```python TypeError: descriptor 'date' requires a 'datetime.datetime' object but received a 'int' ``` ** ......