My program stopped working after updating one of the dependencies and kept throwing the same error.
Usually, when I run 'ng serve' in my project everything works fine, but after updating Chartist, I encountered this error:
An unhandled exception occurred: Directory import 'C:\Users\Adam\Desktop\Dashboard admin\material-dashboard-angular2-master\node_modules\@angular-devkit\build-angular\src\dev-server' is not supported resolving ES modules imported from C:\Users\Adam\Desktop\Dashboard admin\material-dashboard-angular2-master\node_modules\@angular-devkit\architect\node\node-modules-architect-host.js
Did you mean to import C:/Users/Adam/Desktop/Dashboard admin/material-dashboard-angular2-master/node_modules/@angular-devkit/build-angular/src/dev-server/index.js?
See "C:\Users\Adam\AppData\Local\Temp\ng-6Ov2p1\angular-errors.log" for further details.
I tried running 'npm install' on my terminal, but got the following error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
...
This is the content of my Package.json file:
{
"name": "material-dashboard-angular",
"version": "2.8.0",
...
}