Javascript Can';不要启动爱奥尼亚应用程序

Javascript Can';不要启动爱奥尼亚应用程序,javascript,node.js,ionic-framework,mobile,Javascript,Node.js,Ionic Framework,Mobile,升级node和npm后,我无法启动旧的ionic应用程序,错误如下: ± |master U:1 ?:1 ✗| → ionic serve > ionic-hello-world@ ionic:serve /Users/John/Dropbox/www/salon-app > ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729" sh: io

升级node和npm后,我无法启动旧的ionic应用程序,错误如下:

± |master U:1 ?:1 ✗| → ionic serve

> ionic-hello-world@ ionic:serve /Users/John/Dropbox/www/salon-app
> ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"

sh: ionic-app-scripts: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! ionic-hello-world@ ionic:serve: `ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the ionic-hello-world@ ionic:serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/John/.npm/_logs/2018-06-16T15_54_50_743Z-debug.log
There was an error serving your Ionic application: There was an error with the spawned command: serve
信息

我尝试过删除
node\u模块
npm安装
,但没有成功


//运行
npm audit
后,它显示了一些软件包存在问题,在删除
node_模块
并重新安装爱奥尼亚
npm安装-g cordova爱奥尼亚
并运行
npm audit
以查看哪些软件包损坏后,我正在尝试更新这些软件包


我不知道确切的修复方法是什么,但我重复了这个过程,效果很好。

似乎有一些突破性的改变。。。
Your system information:

Cordova CLI: 6.5.0 
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
ios-deploy version: 1.9.1 
ios-sim version: 5.0.13 
OS: macOS
Node Version: v10.4.1
Xcode version: Xcode 9.4.1 Build version 9F2000