npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64 ”})
npm ERR! Windows_NT 6.1.7601 npm ERR! argv “D:\Tools\nodejs\node.exe” “C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js” "install" npm ERR! node v6.3.1 npm ERR! npm v4.2.0 npm ERR! path D:\zhibo\work\lease\node_modules\js-beautify\js\bin\css-beautify.js npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod 'D:\zhibo\work\lease\node_modules\js-beautify\js\bin\css-beautify.js’ npm ERR! enoent ENOENT: no such file or directory, chmod 'D:\zhibo\work\lease\node_modules\js-beautify\js\bin\css-beautify.js’ 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! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2017-09-18T08_13_23_753Z-debug.log
@tong36 js-beautify 大约今天中午有更新,导到不少依赖或间接依赖的工具或库都出现安装问题。 可以关注一下这个 issue: https://github.com/beautify-web/js-beautify/issues/1247
@houfeng 谢谢了。