- December 10, 2019 at 1:46 am #40566
> ng.cmd run app:serve –host=localhost –port=8100
[ng] An unhandled exception occurred: Could not find module “@angular-devkit/build-angular” from “C:\\Users\\Dell\\hobatops”.
[ng] See “C:\Users\Dell\AppData\Local\Temp\ng-zNyVmV\angular-errors.log” for further details.
[ERROR] ng has unexpectedly closed (exit code 127).
The Ionic CLI will exit. Please check any output above for error details.December 13, 2019 at 12:11 pm #40758
The error says it all and it is specifically pointing to the error which is clearly not located in the App files.
A quick google search also gives the solution : https://prnt.sc/qabslf and it is clearly outside the support scope of the project.December 13, 2019 at 12:34 pm #40763
As per the error details which you have shared with us we have figured out that It is an issue of the ionic setup, not code issue which we have used in our App.
But as per our search, we have found that the dependency of @angular-devkit/build-angular” is not installed at your system
Please run this command: npm install –save-dev @angular-devkit/build-angular to the root of your project
Or you can do rename node_modules and replace package.json with ours: https://we.tl/t-L7WsWiuCwo and run npm install . It will create a new node_modules(dependency folder). Then try to run ionic serve.
- You must be logged in to reply to this topic.