@mikejones3 wrote:
I was following the getting started guide and got all the way to the step where it says to run:
ionic serve
At first, it did not work because I didn’t have angular installed. Once I installed that I tried again and get this error:
mikej@DESKTOP-615AL5R MINGW64 ~/Desktop/Ionic/myApp
$ ionic serveng run app:serve --host=0.0.0.0 --port=8100
[ng] Could not find module “@angular-devkit/build-angular” from “C:\Users\mikej\Desktop\Ionic\myApp”.
[ng] Error: Could not find module “@angular-devkit/build-angular” from “C:\Users\mikej\Desktop\Ionic\myApp”.
[ng] at Object.resolve (C:\Users\mikej\AppData\Roaming\npm\node_modules@angular\cli\node_modules@angular-devkit\core\node\resolve.js:141:11)
[ng] at Observable.rxjs_1.Observable [as _subscribe] (C:\Users\mikej\AppData\Roaming\npm\node_modules@angular\cli\node_modules@angular-devkit\architect\src\architect-legacy.js:153:40)
[ng] at Observable._trySubscribe (C:\Users\mikej\AppData\Roaming\npm\node_modules@angular\cli\node_modules\rxjs\internal\Observable.js:44:25)
[ng] at Observable.subscribe (C:\Users\mikej\AppData\Roaming\npm\node_modules@angular\cli\node_modules\rxjs\internal\Observable.js:30:22)
[ng] at C:\Users\mikej\AppData\Roaming\npm\node_modules@angular\cli\node_modules\rxjs\internal\Observable.js:99:19
[ng] at new Promise ()
[ng] at Observable.toPromise (C:\Users\mikej\AppData\Roaming\npm\node_modules@angular\cli\node_modules\rxjs\internal\Observable.js:97:16)
[ng] at RunCommand.runSingleTarget (C:\Users\mikej\AppData\Roaming\npm\node_modules@angular\cli\models\architect-command.js:161:86)
[ng] at RunCommand.runArchitectTarget (C:\Users\mikej\AppData\Roaming\npm\node_modules@angular\cli\models\architect-command.js:201:35)
[ng] at RunCommand.run (C:\Users\mikej\AppData\Roaming\npm\node_modules@angular\cli\commands\run-impl.js:14:25)
[ng] at RunCommand.validateAndRun (C:\Users\mikej\AppData\Roaming\npm\node_modules@angular\cli\models\command.js:124:31)
[ng] at process._tickCallback (internal/process/next_tick.js:68:7)
[ng] at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)
[ng] at startup (internal/bootstrap/node.js:283:19)
[ng] at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)[ERROR] ng has unexpectedly closed (exit code 1).
The Ionic CLI will exit. Please check any output above for error details.
Posts: 1
Participants: 1