报错总结
文章平均质量分 55
拾一九
热爱学习的前端程序媛!
展开
-
npm 解决报错request to https://registry.npm.taobao.org/exceljs failed, reason: certificate has expired
npm 解决报错request to https://registry.npm.taobao.org/exceljs failed, reason: certificate has expired,npm淘宝镜像过期解决原创 2024-02-28 09:50:26 · 1119 阅读 · 0 评论 -
nvm 解决不同项目需要使用的node版本不一致、nvm版本管理
nvm 解决不同项目需要使用的node版本不一致、nvm版本管理原创 2023-11-07 10:07:40 · 1312 阅读 · 0 评论 -
cnpm windows系统安装后查看版本cnpm -v报错Error: Cannot find module ‘node:util‘
在网上查了一些资料,有的说配置环境变量就可以,但经过配置后发现还是会报错。又查到说是由于cnpm和npm的版本不一致导致的,最后尝试成功解决!3、查看npm版本后可以知道npm是6.XX的版本,所以安装对应版本的cnpm,在终端输入。5、如果还是安装不成功、报错,可能是需要再配置环境变量。(2)高级系统设置->环境变量->系统变量->找到。1、先卸载掉之前安装的cnpm,在终端输入。所在的路径,复制这个路径,配到环境变量中。(3)新建,将第(1)步的路径粘贴进去。2、查看npm的版本,在终端输入。原创 2023-11-01 09:04:48 · 2265 阅读 · 1 评论 -
npm 删除全部依赖包
第一种办法删除全部依赖包 npm uninstall *( 删除指定的依赖包 npm uninstall xxx删除全局的指定依赖 npm uninstall xxx -gxxx为依赖名称)清缓存 npm cache clean --force手动删除node_modules文件夹及文件夹里面的全部文件第二种办法安装npm包–rimraf npm install rimraf -g执行命令 1rimraf node_modules...原创 2021-10-26 14:54:54 · 33842 阅读 · 1 评论 -
解决 windows安装依赖或运行项目 报错 error [email protected]: The engine “node“ is incompatible with this module.
解决 windows安装依赖或运行项目 报错 error [email protected]: The engine “node” is incompatible with this module. Expected version “^12.22.0 || ^14.17.0 || >=16.0.0”. Got “12.18.3”.0". Got “12.18.3”@[TOC] 安装指定版本node报错原因node版本对应不上,项目要求的是 version “^12.22.0 || ^14.17.0 ||原创 2021-10-26 13:00:25 · 8721 阅读 · 0 评论