Why do Node modules go into .staging folder?

后端 未结 8 1554
轮回少年
轮回少年 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:40
    1. Delete package.lock.json

    2. Delete node_modules

    3. run npm update

    0 讨论(0)
  • 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 ;)

    0 讨论(0)
提交回复
热议问题