I have an Electron app that I\'m trying to install node modules for. When I run npm install
, it creates the node_modules
folder but all the modules
I faced similar issue and tried the above answers but it did'nt worked for me; I followed below steps to resolve this issue-
1.npm audit
By running npm audit I got list of pending packages to install-
2.npm i packagename
After installing one or two package one by one from list, I used
3.npm install
At this time the installation went smooth without any lag or hangup. Hope this help who is facing similar issue :).