Node Package Manager does not install devDependencies, whenever you run npm install
. Rather what it does is that it installs all the dependencies. So you just have to copy the contents of DevDependencies to Dependencies in package.json, which will force the manager to install those libraries. After copying all the DevDependencies to Dependencies, just run the command npm install
, then proceed with ng serve
and BOOM its up and running!!!
I hope it helps.
Thank you