Ten*_*enz 2 node.js npm npm-install
我只是将我的节点升级到版本v6.11.3,而npm版本是5.4.1
我想做
npm install
Run Code Online (Sandbox Code Playgroud)
或任何npm安装,如
npm install nodemon
Run Code Online (Sandbox Code Playgroud)
并有这个问题.
npm WARN deprecated pug@0.1.0: Please update to the latest version of pug, at time of writing that is pug@2.0.0-alpha6
npm WARN deprecated pug-loader@0.0.0: Please use pug-load for pug-loader@<=1.0.2.
npm ERR! path C:\Users\project\node_modules\fsevents\node_modules\aws-sign2\package.json
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\project\node_modules\fsevents\node_modules\aws-sign2\package.json'
npm ERR! at Error (native)
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\project\node_modules\fsevents\node_modules\aws-sign2\package.json'
npm ERR! at Error (native)
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink \'C:\\Users\\project\\node_modules\\fsevents\\node_modules\\aws-sign2\\package.json\'\n at Error (native)',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\\Users\\project\\node_modules\\fsevents\\node_modules\\aws-sign2\\package.json' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Program\_logs\2017-09-07T21_55_47_482Z-debug.log
Run Code Online (Sandbox Code Playgroud)
我一直在谷歌搜索和尝试很多不同的方法,如
npm cache clean
Run Code Online (Sandbox Code Playgroud)
但有这个问题
npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify'
instead.
npm ERR!
npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Program\_logs\2017-09-07T22_03_49_893Z-debug.log
Run Code Online (Sandbox Code Playgroud)
我不知道如何解决此问题并能够运行我的nodemon而不是nodemon bin/www
归档时间: |
|
查看次数: |
7921 次 |
最近记录: |