我试图安装一个Sail.js应用程序,但是在尝试使用npm i时它总是会失败。
npm ERR! path C:\Users\Administrator\Documents\Node\mmol\node_modules\.staging\sails-99c85f08\node_modules\@sailshq\body-parser
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\Administrator\Documents\Node\mmol\node_modules\.staging\sails-99c85f08\node_modules\@sailshq\body-parser' -> 'C:\Users\Administrator\Documents\Node\mmol\node_modules\.staging\@sailshq\body-parser-e780f048'
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\Administrator\AppData\Roaming\npm-cache\_logs\2017-11-02T20_15_43_291Z-debug.log
依赖关系是:
"dependencies": {
"ejs": "2.3.4",
"grunt": "1.0.1",
"grunt-contrib-clean": "1.0.0",
"grunt-contrib-coffee": "1.0.0",
"grunt-contrib-concat": "1.0.1",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-cssmin": "1.0.1",
"grunt-contrib-jst": "1.0.0",
"grunt-contrib-less": "1.3.0",
"grunt-contrib-uglify": "1.0.1",
"grunt-contrib-watch": "1.0.0",
"grunt-sails-linker": "~0.10.1",
"grunt-sync": "0.5.2",
"include-all": "^1.0.0",
"moment": "^2.19.1",
"rc": "1.0.1",
"sails": "~0.12.14",
"sails-disk": "~0.10.9",
"sails-mongo": "^0.12.2"
},
我完全失败了。我已经清除了npm缓存,我重新安装了Node。有没有人有任何想法?