猿问

询问有人从github拉代码之后,进行npm intsall 遇到这个问题 win10系统

npm WARN vue-demo@1.0.0 No repository field.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (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! path E:\项目\Vue总结\vue2-demo-master\node_modules\js-beautify\js\bin\html-beautify.js

npm ERR! code ENOENT

npm ERR! errno -4058

npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod 'E:\项目\Vue总结\vue2-demo-master\node_modules\js-beautify\js\bin\html-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!     C:\Users\lenovo\AppData\Roaming\npm-cache\_logs\2017-09-18T08_14_53_311Z-debug.log


qq_娘寿_04361597
浏览 3103回答 1
1回答

迁就LOSE

不知道题主的上下文。在这里猜测一下。出现这种情况一般有两种可能,第一,题主的包名字打错了,导致npm后找不到。第二,题主安装的包可能不支持windows。支不支持可以专门的网站查询一下。仅供参考。
随时随地看视频慕课网APP
我要回答