Npm install failed with “cannot run in wd”

前端 未结 5 1048
梦谈多话
梦谈多话 2020-12-12 10:32

I am trying to get my node environment set up on a new Ubuntu 12.04 instance, with Node 0.8.14 already installed, but I ran into problems when I try to run npm install

5条回答
  •  时光取名叫无心
    2020-12-12 10:55

    The only thing that worked for me was adding a .npmrc file containing:

    unsafe-perm = true
    

    Adding the same config to package.json didn't have any effect.

提交回复
热议问题