Skip to main content

Posts

Showing posts with the label Cannot find module '@angular-devkit/core' - after clean install

Cannot find module '@angular-devkit/core' - after clean install

Firstly I open Node.js command prompt and creating the project directory for my project creation.  My project name is – ServiceDemo My Project Directory is - D:\Angular> Execute the serve commands - D:\Angular> ng new ServiceDemo After successfully created my project – ServiceDemo and I tried to execute the command - " ng serve --open " and got error: ‘ Cannot find module '@angular-devkit/core ’ Stayed Informed  –  Angular 5  and  Angular 4 Documents D:\Angular\ServiceDemo>ng serve --open module.js:540     throw err;     ^ Error: Cannot find module '@angular-devkit/core'     at Function.Module._resolveFilename (module.js:538:15)     at Function.Module._load (module.js:468:25)     at Module.require (module.js:587:17)     at require (internal/module.js:11:18)     at Object. < anonymous > (D:\Angular\Servi...