I am new with angular 5 , Currently i have updated my project which was in angular 2 to 5 , but while i am running npm install command i am getting following error .
fs.js:646
return binding.open(pathModule._makeLong(path), stringToFlags(flags),
mode);
^
Error: ENOENT: no such file or directory, open
'/home/bijay/projects/project_name/config/Config.d.ts'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.writeFileSync (fs.js:1299:33)
at Object.<anonymous> (/home/bijay/projects/project_name/node_modules/node-config-ts/src/createTypedefs.js:14:4)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
So I am not able to get what is the issue. And if i run npm install with Sudo it is working without any error.