創建Cordova項目 報錯Error: Unhandled "error" event
阿新 • • 發佈:2018-03-31
can hello IT hand 項目 fetch cor -a 安裝
cordova版本7.0以上版本
創建cordova項目錯誤信息
Error: Unhandled "error" event. ( Error from Cordova Fetch: Error: cmd: Command
failed with exit code 1 Error output:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "..\..\AppData\Roaming\npm\node_modules\cordova\
node_modules\[email protected]@cordova-app-hello-world\index.js" a
s it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\my\AppData\Roaming\npm-cache\_logs\2017-08-23T08_00_05_791
安裝版本 cnpm install -g [email protected]
成功
創建Cordova項目 報錯Error: Unhandled "error" event