Why do Node modules go into .staging folder?

后端 未结 8 1577
轮回少年
轮回少年 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:28

    This only happens temporarily until the modules are downloaded and installed. Node seems to do this so it can place together common submodules from all the modules you are installing so it can better structure the node modules folder(mainly for windows users).

    If this is happening after an npm install finishes it is likely that there is something wrong with your node installation or something in the install failed.

提交回复
热议问题