cordova 报错信息

E:\cordova>cordova create hello com.example.hello HelloWorld
Creating a new cordova project.
Error: Uncaught, unspecified "error" event. ( Error from Cordova Fetch: Error:
cmd: Command failed with exit code 4294963238 Error output:
npm ERR! not a package C:\Users\Administrator\AppData\Roaming\npm\node_modules\c
ordova\node_modules\_cordova-app-hello-world@3.12.0@cordova-app-hello-world\inde
x.js
npm ERR! addLocal Could not install C:\Users\Administrator\AppData\Roaming\npm\n
ode_modules\cordova\node_modules\_cordova-app-hello-world@3.12.0@cordova-app-hel
lo-world\index.js
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "C:\\Users\\Administrator\\AppData
\\Roaming\\npm\\node_modules\\cordova\\node_modules\\_cordova-app-hello-world@3.
12.0@cordova-app-hello-world\\index.js"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! path C:\Users\ADMINI~1\AppData\Local\Temp\npm-6620-f151705c\unpack-5182
44fd\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\ADMINI~1\AppDa
ta\Local\Temp\npm-6620-f151705c\unpack-518244fd\package.json'
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\ADMINI~1\AppDa
ta\Local\Temp\npm-6620-f151705c\unpack-518244fd\package.json'
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:\Users\Administrator\.cordova\node_modules\npm-debug.log)

posted @ 2017-09-01 13:14  haveProgress  阅读(1261)  评论(0编辑  收藏  举报