cordova 报错信息
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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\[email protected]@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\[email protected]@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\\[email protected]
[email protected]\\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)
以上是关于cordova 报错信息的主要内容,如果未能解决你的问题,请参考以下文章
CORDOVA :添加cordova-plugin-file-opener2插件cordova打包报错
cordova -v 报错,必须用sodu cordova -v