ionic serve 报【ionic-app-scripts' 不是内部或外部命令 】问题解决

1、cd至项目路径 输入命令:npm install @ionic/app-scripts@latest --save-dev

运行后,继续报错,下拉查看错误信息后,有提示 “This usually happens because your environment has changed since running 'npm install'. Run 'npm rebuild node-sass' to build the binding for your current environment.”

2、按提示 在项目路径下输入:npm rebuild node-sass

3、重试ionic serve,成功!问题解决!

你可能感兴趣的:(笔记-问题处理)