Added package.json file using npm.init
Deleted the npm packages and can be easily intalled using command :-
npm install