Uploading Meteor up to AWS E.Beanstalk Error

爱⌒轻易说出口 提交于 2020-01-05 04:25:07

问题


A Meteor project being uploaded to AWS Elastic Beanstalks using the AWS console. The content of the root folder including the hidden files and folders without .git and .idea are being zipped and that zipped.zip file was uploaded.

The content of the package.json is:

{
  "name": "Appname2",
  "version": "0.0.1"
}

The beanStalk console is reporting Error:

No start scripts located in package.json. Node.js may have issues starting. Add start scripts or place code in a file named server.js or app.js.

Meteor version 1.4.1.1 which uses nodejs 5.5.0
AWS node versin is: 5.12.0

How can this be fixed so the error goes away? Thanks

来源:https://stackoverflow.com/questions/39430934/uploading-meteor-up-to-aws-e-beanstalk-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!