Why do Node modules go into .staging folder?

后端 未结 8 1552
轮回少年
轮回少年 2021-01-01 08:41

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

8条回答
  •  情话喂你
    2021-01-01 09:20

    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 :).

提交回复
热议问题