devdependencies install npm
Install Ansible on CentOS 8
环境准备: 1.至少俩台linux主机,一台是控制节点,一台是受控节点 2.控制节点和受控节点都需要安装Python36 3.控制节点需要安装ansible 4.控制节点需要获得受控节点的普通用户或root用户的权限,控制节点需要ssh客户端,受控节点需要ssh服务端 5.控制节点和受控节点之间网络 ......
谷歌浏览器安装--Dependency issue installing google-chrome-stable through Ubuntu docker
1.ubuntu安装谷歌浏览器找不到安装包libu2f-udev,记录一下解决办法 Creating a dummy package which provides libu2f-udev fixes the issue. I followed below steps for Ubuntu 16.04 ......
NPM配置阿里云(淘宝)镜像仓库
查看当前使用的镜像地址命令 npm config get registry 切换为阿里云镜像 npm config set registry http://registry.npmmirror.com 换回原镜像 npm config set registry http://registry.npm ......
mwan3 install
mwan3 install #!/bin/sh ###多拨数 vwnum=5 ###最低在线 mindial=2 ###宽带帐号密码 username=xxxxxx password=xxxxxx ###DNS测试多拨是否成功 dns1='114.114.114.114' dns2='114.114 ......
use macOS terminal can not install MicroPython on Raspberry Pi Pico bug All In One
use macOS terminal can not install MicroPython on Raspberry Pi Pico bug All In One
使用 macOS 终端无法在 Raspberry Pi Pico 上安装 MicroPython bug
......
npm、yarn、pnpm切源
包管理工具切换源 为何要切换 npm、yarn、pnpm 源? 由于默认的 npm,yarn 源是国外,访问速度很慢,因此选择国内镜像,加快下载安装速度,eg:切换为淘宝源或者公司内部源 pnpm performant npm 高效能 npm pnpm store prune 删除 store 中不 ......
NPM Windows安装及配置
1:首先下载node.js https://nodejs.org/zh-cn 2:查看是否安装成功 node -v 安装成功后会有个版本号 3:安装npm淘宝镜像 npm config set registry https://registry.npm.taobao.org 4:配置npm全局模块存 ......
conda install 报错(代理问题)
报错 Collecting package metadata (current_repodata.json): failed # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< Traceback (most recent cal ......
第135篇:npm模块全局安装后无法使用解决方案
好家伙 npm模块全局安装后无法使用 估计是少配了环境变量 1.使用命令: npm config get prefix 找到全局包的安装位置 2.随后我们右键"我的电脑"打开 "属性" 3.拉到最下打开 找到高级系统设置 4.找到环境变量 5.找到PATH 6.在最后添加前面找到的npm全局包安装地 ......
NPM之chalk
chalk 终端打印信息彩色字体,提高辨识度 安装 npm install chalk -S 使用 const chalk = require('chalk') console.log(chalk.blue('Hello world!')) 定义自己的主题 const chalk = require ......
升级pip报错ERROR: Could not install packages due to an OSError: [WinError 5]
今天在安装python第三方库时,提示pip需要升级,没有多想直接升级,结果报错: 1 ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'd:\\python\\scripts\\pip.exe' 2 ......
nginx配置vue打包npm build的静态页面
nginx 配置vue项目 server { listen 8081; server_name 10.8.8.8; index index.html; root /home/www/crm/vue/dist; #SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则 #error ......
How to 'apt-get install python-opengl' on Ubuntu22.04
ImportError: Error occurred while running `from pyglet.gl import *` HINT: make sure you have OpenGL install. On Ubuntu, you can run 'apt-get install p ......
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the ......
使用npm安装nrm的问题
安装环境 电脑环境:windows node版本:16.9.1 npm版本:8.19.3 问题 安装nrm成功使用命令后出现以下报错 npm i nrm -g nrm ls 解决方案: 删除当前的nrm npm uninstall nrm -g 安装如下代码 npm install Pana/nrm ......
Linux install mysql
1.0 install mysql sudo apt purge mysql-server mysql-common sudo apt autoremove mysql-server mysql-common sudo apt-get update sudo apt-get install mysq ......
sogou_install
搜狗输入法安装 在系统设置里面讲键盘系统输入法改为fcitx。若无,则执行 sudo apt update sudo apt-get install fcitx 设置fcitx开机自启 sudo cp /usr/share/applications/fcitx.desktop /etc/xdg/au ......
VSCode:"princexml" is required to be installed
这应该是我们在使用VSCode插件“markdown-preview-enhanced”插件时,使用PDF(prince)的时候出现的问题,那么关于这个问题的解决方法,请大家参照下边的解决方案。 进入prince官网,点击电脑版本对应的链接进行下载并安装。网址如下:Prince - Download ......
【问题记录】npm 重置镜像失败 -- 删除.npmrc文件即可
1、我在A项目中对 npm 镜像进行重置,重置成功后查看镜像还是没变,但是其他项目的镜像都已经change过来了。 2、具体操作指令: npm config set registry http://registry.npm.taobao.org/ npm config set registry ht ......
yarn install报错---证书问题
现象 通过yarn包管理器安装 electron-webpack 时,报如下错误: 问题原因 开始以为是下载源的问题,但是切换到淘宝源后依然无法解决问题,还是报这个问题。并且自己通过npm包管理器安装时,也会报同样的错误。 后来在网上找了一圈,发现是【HTTPS 证书验证失败】导致的。 解决方案 【 ......
npm i报错---Cannot read properties of null (reading ‘pickAlgorithm‘)
现象 在导入Vue项目使用 ' npm i ' 安装node_moduels的时候,终端出现错误如下: 解决 1、在终端输入: npm cache clear --force npm cache clear --force 2、重新运行 npm i 命令 npm i ......
centos7 yum -y install nodejs安装npm时报错,处理方法
centos7 yum -y install nodejs安装npm时报错,处理方法 安装npm时报错,处理方法 sudo: npm: command not found sudo yum -y install nodejs Loaded plugins: fastestmirrorLoading ......
npm package.json exports filed All In One
npm package.json exports filed All In One https://docs.npmjs.com/files/package.json https://docs.npmjs.com/cli/v9/configuring-npm/package-json/#main h ......
NPM: command
~/.npmrc 配置文件 npm login --scope @sporadic 在.npmrc产生如下配置 npm logout --scope @sporadic npm whoami --registry https://registry.npmjs.org ~/.npm/ global o ......
mac 安装svn解决vscode签出项目报Svn installation not found的问题。
svn之前安装过,更新系统就丢了,再brew也没法访问了。 在国内有几个镜像去访问,安装国内镜像: /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 开始选择了阿里巴巴下载源, ......
webmin install Script
#!/bin/sh # shellcheck disable=SC1090 disable=SC2059 disable=SC2164 disable=SC2181 # setup-repos.sh # Configures Webmin repository for RHEL and Debian ......
How to install parse-server
install mongoldb vim /etc/yum.repos.d/mongodb.repo [mngodb-org] name=MongoDB Repository baseurl=http://mirrors.aliyun.com/mongodb/yum/redhat/7Server/m ......
了解npm 包管理器
npm 是 Node.js 包管理器,也是一个流行的开源工具。它允许用户在 Node.js 应用程序中安装、使用和管理第三方库和模块。 什么是 npm? npm 是一个 Node.js 包管理器,它允许用户在一个 Node.js 应用程序中安装、使用和管理第三方库和模块。 如何安装 npm? 要安装 ......
npm安装依赖环境报错(vite、@vitejs/plugin-legacy等)
一、问题: 在做vite + vue3项目,由于前端页面加载过慢,处理vite相关优化时安装相关插件提示的报错信息,在这里记录是方便遇到同样问题的小伙伴能快速解决问题。 二、原因: npm的版本过高才导致 三、解决方案:在npm 后面加 --force 或者 --legacy-peer-deps n ......
关于dependencies和devDependencies
devDependencies —— 本地开发环境使用的依赖 dependencies —— 线上生产(发布)环境使用的依赖 dependencies 的包不仅开发环境能使用,生产环境也能使用,所以如果不考虑优化问题,可以将所有的依赖都安装到 dependencies 中 如果安装包时不写后缀,则默 ......