GYP ERR! build error. stack Error: 'make' failed with exit code 2

后端 未结 11 1469
自闭症患者
自闭症患者 2021-01-07 16:30

I am currently working on a nodejs web application I am having trouble pushing the application online with cloud foundry. I did some research on the errors and it seems that

11条回答
  •  梦毁少年i
    2021-01-07 16:45

    Delete the ~/.node-gyp folder and then the ~/.npmrc file.

    Reboot your server and rerun npm install in your project folder

    Edit:

    Warning: removing ~/.npmrc will delete your other configurations

提交回复
热议问题