cnmp安装失败,报错npm ERR! enoent ENOENT: no such file or directory,
2017-08-12 21:45
756 查看
1.cnmp安装失败
2.提示如下:
3.请问该怎么解决?不胜感激!
cnmp安装失败,报错npm ERR! enoent ENOENT: no such file or directory, >> ios
这个答案描述的挺清楚的: http://www.goodpm.net/postreply/ios/1010000008964110/cnmp安装失败报错npmERRenoentENOENTnosuchfileordirectory.html
2.提示如下:
bogon:node_modules liangjingming$ sudo npm install cnpm -g --registry=https://registry.npm.taobao.org Password: /usr/local/lib └── (empty) npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/Cellar/node/7.8.0/bin/node" "/usr/local/bin/npm" "install" "cnpm" "-g" "--registry=https://registry.npm.taobao.org" npm ERR! node v7.8.0 npm ERR! npm v4.2.0 npm ERR! path /usr/local/lib/node_modules/.staging/abbrev-cf0db83f npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall rename npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/abbrev-cf0db83f' -> '/usr/local/lib/node_modules/cnpm/node_modules/npm/node_modules/abbrev' npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/abbrev-cf0db83f' -> '/usr/local/lib/node_modules/cnpm/node_modules/npm/node_modules/abbrev' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent npm ERR! Please include the following file with any support request: npm ERR! /Users/liangjingming/.npm/_logs/2017-04-06T06_54_02_572Z-debug.log
3.请问该怎么解决?不胜感激!
cnmp安装失败,报错npm ERR! enoent ENOENT: no such file or directory, >> ios
这个答案描述的挺清楚的: http://www.goodpm.net/postreply/ios/1010000008964110/cnmp安装失败报错npmERRenoentENOENTnosuchfileordirectory.html
相关文章推荐
- cnmp安装失败,报错npm ERR! enoent ENOENT: no such file or directory,
- npm install报错 npm ERR! enoent ENOENT: no such file or directory
- vue 安装完新的插件后,报错errno -4058,enoent ENOENT: no such file or directory,找不到node_modules下面的文件
- thrift 安装 make 失败 ar: .libs/ThriftTest_constants.o: No such file or directory
- 安装nodejs和npm以后出现 /usr/bin/env: node: No such file or directory
- pyspider安装失败报FileNotFoundError: [Errno 2] No such file or directory: 'curl-config'
- 在mac上面安装appium---npm install时报错:npm WARN enoent ENOENT: no such file or directory,
- npm WARN enoent ENOENT: no such file or directory, open 'E:\Program Files\nodejs \package.json' npm
- npm WARN enoent ENOENT: no such file or directory, open 'E:\Program Files\nodejs \package.json' npm
- scrapy 安装出错 [err2] no such file or directory: 'README.rst'【已解决】
- npm WARN enoent ENOENT: no such file or directory, open 'D:\web\Imooc\package.json' npm WARN Imooc
- npm 安装 bin/npm: line 1: ../lib/node_modules/npm/bin/npm-cli.js: No such file or directory
- npm WARN enoent ENOENT: no such file or directory, open 'E:\Program Files\nodejs \package.json' npm
- Homebrew 安装 node 后,npm报 env: node no such file or directory
- 安装tensorflow,出现libcudart.so.7.5: cannot open shared object file: No such file or directory
- GUN 工具链安装后显示 No such a file or directory
- Linux 格式化分区 报错Could not stat --- No such file or directory 和 partprobe 命令
- Ubuntu 14.04 LTS 解决adb无法运行 提示adb: No such file or directory 安装ia32-libs
- 10035---redis-3.0.7 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法
- JDK1.3安装出现/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Done.