Error: EACCES: permission denied when running `npm install` on Elastic Beanstalk

后端 未结 3 1687
鱼传尺愫
鱼传尺愫 2021-02-13 11:49

I\'ve provisioned a default clean node.js app via Elastic Beanstalk, and have a node.js script trying to run npm install inside the project directory (/var/ap

3条回答
  •  耶瑟儿~
    2021-02-13 12:50

    I have had this problem in past and in my case cleaning the cache fixed my issue. Please try this

    npm cache clean
    

    Hope it helps.

提交回复
热议问题