Amazon Elastic Beanstalk npm cant find package.json

前端 未结 3 1119
攒了一身酷
攒了一身酷 2021-02-18 21:12

I\'m very new with amazon web services, and I am trying to set up a node.js app on their elastic beanstalk. I set up the instance and uploaded/deployed the site, but while the h

3条回答
  •  伪装坚强ぢ
    2021-02-18 22:01

    From an official AWS thread[1], it appears (and this was my problem) that you might be zipping the top-level directory rather than zipping the source itself.

    For example, you may have all of your files in a folder called "Project". Rather than zipping "Project", you should zip and upload the contents of "Project".

    [1] https://forums.aws.amazon.com/thread.jspa?messageID=476022

提交回复
热议问题