错误离子3皮棉完成后

时间:2018-06-28 03:45:09

标签: cordova ionic-framework ionic3

我学会了在ionic 3中构建应用程序 当我运行离子发球机时,运行顺利,突然出现了这样的错误

    console.log: Angular is running in the development mode. Call enableProdMode() to enable the production
            mode.
[08:22:14]  console.log: Angular is running in the development mode. Call enableProdMode() to enable the production
            mode.
[08:22:14]  console.warn: Native: tried calling StatusBar.styleDefault, but Cordova is not available. Make sure to
            include cordova.js or run in a device/simulator
[08:22:14]  console.warn: Native: tried calling SplashScreen.hide, but Cordova is not available. Make sure to include
            cordova.js or run in a device/simulator
[08:22:14]  console.warn: Native: tried calling StatusBar.styleDefault, but Cordova is not available. Make sure to
            include cordova.js or run in a device/simulator
[08:22:14]  console.warn: Native: tried calling SplashScreen.hide, but Cordova is not available. Make sure to include
            cordova.js or run in a device/simulator
[08:22:14]  console.log: ionViewDidLoad BerandaPage
[08:22:14]  console.log: ionViewDidLoad BerandaPage
[08:22:15]  lint finished in 5.70 s
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: spawn "C:\Program Files (x86)\Nodist\v-x64\8.11.3\node.exe" ENOENT
    at notFoundError (C:\Program Files (x86)\Nodist\bin\node_modules\ionic\node_modules\cross-spawn\lib\enoent.js:11:11)
    at verifyENOENT (C:\Program Files (x86)\Nodist\bin\node_modules\ionic\node_modules\cross-spawn\lib\enoent.js:46:16)
    at ChildProcess.cp.emit (C:\Program Files (x86)\Nodist\bin\node_modules\ionic\node_modules\cross-spawn\lib\enoent.js:33:19)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

我该怎么办? 任何帮助都感激不尽:)

0 个答案:

没有答案