Why do Node modules go into .staging folder?

后端 未结 8 1561
轮回少年
轮回少年 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条回答
  •  Happy的楠姐
    2021-01-01 09:44

    If you have a windows machine where you do not posses Admin rights to it.

    Try deleting node_modules and install using 'npm install' from command line as

    'ADMINISTRATOR'

    It works!

    Anyways, it comes down to an open network thing ;)

提交回复
热议问题