【问题标题】:How to pass nodejs the --harmony flag in elastic bean stalk如何在弹性beantalk中向节点js传递--harmony标志
【发布时间】:2014-10-30 08:35:24
【问题描述】:

在 Elastic Bean Stalk 中运行的我的 nodejs 应用程序正在使用 ECMA6,因此我需要向 node 传递 --harmony 标志才能使其工作。 elastic bean stalk 中是否有允许我执行此操作的配置页面或文件?

【问题讨论】:

    标签: javascript node.js amazon-web-services


    【解决方案1】:

    我最终使用 npm start 并将我的 package.json 更改为看起来像

    "scripts": {
      "start": "node --harmony server.js",
    },
    

    【讨论】:

      猜你喜欢
      • 2013-07-18
      • 2022-08-23
      • 2017-03-12
      • 1970-01-01
      • 1970-01-01
      • 2020-11-01
      • 2016-10-27
      • 2014-12-20
      • 2018-05-05
      相关资源
      最近更新 更多