npm突然找不到D:\nodejs\node_modules\npm\bin\npm-cli.js的解决方法
2018-09-14 19:35
507 查看
我在安装iView的时候就突然出现这个不正常工作,之后无论用npm进行任何操作,都会出现如下错误
真的是让人很着急啊,看了看环境配置,没问题,然后根据路径找错误,也不知道是哪里出了坑,上百度查,最多建议的最多的就是卸了重装,绝望!!!!
我的nodejs之前装了挺多的东西,比如bootstr啊,element-ui啊,vue啊,什么的,但是由于本人懒,重装这东西不想搞,麻烦,找了找发现我的nodejs/node_modules
下的npm包不见了,叫了同学拷一个给我,没想到,行了,book思议 .......
就这样,恢复啦!!!!
阅读更多
相关文章推荐
- npm突然找不到npm-cli.js的解决方法
- 'CALL "I:\Program Files\nodejs\\node.exe" "I:\Program Files\nodejs\\node_modules\npm\bin\npm-cli.js"
- 关于cannot find module 'e:\应用程序\node_modules\npm\bin\node_modules\npm\bin\npm-cli.js'
- Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js' 解决方案
- npm 安装 bin/npm: line 1: ../lib/node_modules/npm/bin/npm-cli.js: No such file or directory
- Crosswalk Cordova windows下编译出现:bin\node_modules\q\q.js:126 throw e问题解决方法
- node.js使用npm 安装插件时提示install Error: ENOENT报错的解决方法
- npm-cli----Cannot find module 'D:\node\nodejs\node_module\bin\npm-cli.js'
- 关于在window上运行Node.js 的npm 报 Error: ENOENT, stat 'C:\Users\PC111\AppData\Roaming\npm' 错误解决方法
- 基于vue-cli npm run build之后vendor.js文件过大的解决方法
- node.js npm 提示 Error: ENOENT stat 报错的解决方法
- node -e "require('nan')" npm 安装 tty.js 时报错 ,解决方法
- node.js使用npm 安装插件时提示install Error: ENOENT报错的解决方法
- node.js中模块报错【window is not defined】的解决方法
- “-bash: /usr/local/bin/npm: No such file or directory” centos7 nodejs yum安装包损坏的修复
- node.js setup wizard ended prematurely Win7安装nodejs失败解决方法(node.js安装)
- node.js请求HTTPS报错:UNABLE_TO_VERIFY_LEAF_SIGNATURE\的解决方法
- 解决Linux无法正常安装与卸载Node.js的方法
- 系统中突然找不到光驱的解决方法!