grunt-contrib-watch安装报错
不知道为什么我的项目是建站攻略1的代码 在此基础上安装grunt-contrib-watch报一下错误
D:\project\imooc>npm install grunt-contrib-watch --save-dev
npm WARN package.json package.json@0.0.0 No repository field.
npm WARN package.json package.json@0.0.0 No README data
npm ERR! Error: EPERM, unlink 'D:\project\imooc\node_modules\grunt-contrib-watch
'
npm ERR! { [Error: EPERM, unlink 'D:\project\imooc\node_modules\grunt-contrib-w
atch']
npm ERR! errno: 50,
npm ERR! code: 'EPERM',
npm ERR! path: 'D:\\project\\imooc\\node_modules\\grunt-contrib-watch' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "grunt-contrib-watch" "--save
-dev"
npm ERR! cwd D:\project\imooc
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! path D:\project\imooc\node_modules\grunt-contrib-watch
npm ERR! code EPERM
npm ERR! errno 50
npm ERR! stack Error: EPERM, unlink 'D:\project\imooc\node_modules\grunt-contrib
-watch'
npm ERR! error rolling back Error: EPERM, unlink 'D:\project\imooc\node_modules\
grunt-contrib-watch'
npm ERR! error rolling back { [Error: EPERM, unlink 'D:\project\imooc\node_modu
les\grunt-contrib-watch']
npm ERR! error rolling back errno: 50,
npm ERR! error rolling back code: 'EPERM',
npm ERR! error rolling back path: 'D:\\project\\imooc\\node_modules\\grunt-con
trib-watch' }
npm ERR! not ok code 0