I want to install Angular 4.3.1 or 4.4.6 or something like that. Currently I am using Angular cli version 1.4.1. When I provide the command it install the latest Angular 5 version and latest Angular 5 run properly.
ng new myproject
How to I create Angular 4.4.6 version. I have tried to change in package.json file and provide this command.
npm install
The command execute without any errors. When I try to run I am getting the following errors.
Cannot find module 'webpack/lib/node/NodeTemplatePlugin'
Error: Cannot find module 'webpack/lib/node/NodeTemplatePlugin'
at Function.Module._resolveFilename (module.js:527:15)
at Function.Module._load (module.js:476:23)
at Module.require (module.js:568:17)
at require (internal/module.js:11:18)
I have also tries to delete the node_modules folder and run npm install command again. But the same errors. So my question is what is the proper way to install Angular 4 version?