我正在尝试按照教程,我需要做的一件事是npm install -g generator-meanjs。运行后我得到以下错误:
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\zach\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "generator-meanjs"
npm ERR! node v4.2.3
npm ERR! npm v3.5.1
npm ERR! path C:\Users\zach\AppData\Roaming\npm\node_modules\generator-meanjs\node_modules\yeoman-generator\node_modules\download\node_modules\gulp-decompress\node_modules\decompress\node_modules\decompress-tarbz2\node_modules\seek-bzip\node_modules\commander
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\zach\AppData\Roaming\npm\node_modules\generator-meanjs\node_modules\yeoman-generator\node_modules\download\node_modules\gulp-decompress\node_modules\decompress\node_modules\decompress-tarbz2\node_modules\seek-bzip\node_modules\commander' -> 'C:\Users\zach\AppData\Roaming\npm\node_modules\generator-meanjs\node_modules\commander'
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\zach\AppData\Roaming\npm\node_modules\generator-meanjs\node_modules\yeoman-generator\node_modules\download\node_modules\gulp-decompress\node_modules\decompress\node_modules\decompress-tarbz2\node_modules\seek-bzip\node_modules\commander' -> 'C:\Users\zach\AppData\Roaming\npm\node_modules\generator-meanjs\node_modules\commander'
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:\WINDOWS\system32\npm-debug.log
npm ERR! code 1
它告诉我重命名
C:\ Users \用户扎克\应用程序数据\漫游\故宫\ node_modules \发电机meanjs \ node_modules \自耕农发电机\ node_modules \下载\ node_modules \一饮而尽,解压缩\ node_modules \解压\ node_modules \解压缩,tarbz2 \ node_modules \寻求-的bZIP \ node_modules \ commander' - >
但我不知道要将它重命名为什么。任何人都可以为我澄清这个错误吗?
它还有一个调试日志,但它非常长。
->
)。