亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

使用npm install -g generator-webapp時出現的錯誤代碼

Microsoft Windows [版本 6.1.7601]

版權所有 (c) 2009 Microsoft Corporation。保留所有權利。


C:\Windows\System32>npm install -g generator-webapp

npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail o

n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible

. Use 'npm ls graceful-fs' to find it in the tree.

npm WARN deprecated [email protected]: cross-spawn no longer requires a bu

ild toolchain, use it instead!


> [email protected] postinstall C:\Users\Administrator\AppData\Roaming\npm\node_

modules\generator-webapp\node_modules\generator-jasmine\node_modules\yeoman-gene

rator\node_modules\cross-spawn\node_modules\spawn-sync

> node postinstall



> [email protected] postinstall C:\Users\Administrator\AppData\Roaming\npm\node_

modules\generator-webapp\node_modules\yeoman-generator\node_modules\cross-spawn\

node_modules\spawn-sync

> node postinstall


npm ERR! Windows_NT 6.1.7601

npm ERR! argv "D:\\node-v4.2.1-x64\\node.exe" "D:\\node-v4.2.1-x64\\node_modules

\\npm\\bin\\npm-cli.js" "install" "-g" "generator-webapp"

npm ERR! node v4.2.1

npm ERR! npm ?v2.14.7

npm ERR! path C:\Users\Administrator\AppData\Roaming\npm-cache\util-deprecate\1.

0.2\package\package.json.1ff92b485ef414b53c752bbfe9acd9b1

npm ERR! code EPERM

npm ERR! errno -4048

npm ERR! syscall rename


npm ERR! Error: EPERM: operation not permitted, rename 'C:\Users\Administrator\A

ppData\Roaming\npm-cache\util-deprecate\1.0.2\package\package.json.1ff92b485ef41

4b53c752bbfe9acd9b1' -> 'C:\Users\Administrator\AppData\Roaming\npm-cache\util-d

eprecate\1.0.2\package\package.json'

npm ERR! ? ? at Error (native)

npm ERR! ?{ [Error: EPERM: operation not permitted, rename 'C:\Users\Administrat

or\AppData\Roaming\npm-cache\util-deprecate\1.0.2\package\package.json.1ff92b485

ef414b53c752bbfe9acd9b1' -> 'C:\Users\Administrator\AppData\Roaming\npm-cache\ut

il-deprecate\1.0.2\package\package.json']

npm ERR! ? errno: -4048,

npm ERR! ? code: 'EPERM',

npm ERR! ? syscall: 'rename',

npm ERR! ? path: 'C:\\Users\\Administrator\\AppData\\Roaming\\npm-cache\\util-de

precate\\1.0.2\\package\\package.json.1ff92b485ef414b53c752bbfe9acd9b1',

npm ERR! ? dest: 'C:\\Users\\Administrator\\AppData\\Roaming\\npm-cache\\util-de

precate\\1.0.2\\package\\package.json',

npm ERR! ? parent: 'readable-stream' }

npm ERR!

npm ERR! Please try running this command again as root/Administrator.


npm ERR! Please include the following file with any support request:

npm ERR! ? ? C:\Windows\System32\npm-debug.log


正在回答

1 回答

權限不夠,請用管理員方式打開cmdhttp://img1.sycdn.imooc.com//575393250001556206510134.jpg

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

使用npm install -g generator-webapp時出現的錯誤代碼

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號