错误信息:
D:\project\eyeshot\eyeshot\Source3>ionic serve
> ionic-app-scripts serve --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser
[app-scripts] fs.js:115
[app-scripts] throw err;
[app-scripts] ^
[app-scripts] Error: ENOENT: no such file or directory, scandir 'D:\project\eyeshot\eyeshot\Source3\node_modules\node-sass\vendor'
[app-scripts] at Object.readdirSync (fs.js:783:3)
[app-scripts] at Object.getInstalledBinaries (D:\project\eyeshot\eyeshot\Source3\node_modules\node-sass\lib\extensions.js:129:13)
[app-scripts] at foundBinariesList (D:\project\eyeshot\eyeshot\Source3\node_modules\node-sass\lib\errors.js:20:15)
[app-scripts] at foundBinaries (D:\project\eyeshot\eyeshot\Source3\node_modules\node-sass\lib\errors.js:15:5)
[app-scripts] at Object.module.exports.missingBinary (D:\project\eyeshot\eyeshot\Source3\node_modules\node-sass\lib\errors.js:45:5)
[app-scripts] at module.exports (D:\project\eyeshot\eyeshot\Source3\node_modules\node-sass\lib\binding.js:15:30)
[app-scripts] at Object.<anonymous> (D:\project\eyeshot\eyeshot\Source3\node_modules\node-sass\lib\index.js:14:35)
[app-scripts] at Module._compile (internal/modules/cjs/loader.js:688:30)
[app-scripts] at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
[app-scripts] at Module.load (internal/modules/cjs/loader.js:598:32)
[INFO] Looks like @ionic/app-scripts isn't installed in this project.
This package is required for this command to work properly. The package provides a CLI utility, but the
ionic-app-scripts binary was not found in your PATH.
.......
解决办法:npm i node-sass