【发布时间】:2019-12-09 15:12:33
【问题描述】:
在 AWS elastic beanstalk 上部署 react 应用程序时,谁能帮我找出以下错误 -
2019-08-01 04:37:21 ERROR The configuration file .ebextensions/nodecommand.
config in application version app-5466-190801_100700 contains invalid YAML or JS
ON. YAML exception: Invalid Yaml: mapping values are not allowed here
in "<reader>", line 3, column 16:
option_settings:
^
, JSON exception: Invalid JSON: Unexpected character (/) at position 0.. Update
the configuration file.
2019-08-01 04:37:21 ERROR Failed to deploy application.
以下是我的 nodecommand.config 文件 -
option_settings:
aws: elasticbeanstalk:container:nodejs:
NodeCommand: "node server.compiled.js"
更新 -
我按照此链接在 AWS 弹性 beantalk 上部署 React 应用程序并遇到上述错误 -
【问题讨论】:
标签: yaml amazon-elastic-beanstalk