我使用时收到此错误 npm -g install js-beautify
npm ERR! path /home/developer/software/nodejs/lib/node_modules/js-
beautify/js/bin/css-beautify.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod
'/home/developer/software/nodejs/lib/node_modules/js-
beautify/js/bin/css-beautify.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/developer/.npm/_logs/2017-09-18T07_52_38_910Z-
debug.log
Run Code Online (Sandbox Code Playgroud)
可以做些什么来解决这个问题?
我使用节点8.5.0和npm 5.3.0
Que*_*tin 17
明确安装最后一个好的版本:
npm -g install js-beautify@1.6.14
Run Code Online (Sandbox Code Playgroud)
...或者等待发布固定版本.
| 归档时间: |
|
| 查看次数: |
1483 次 |
| 最近记录: |