vuejs app使用eb cli部署到aws。实例出错以下服务未运行:application

时间:2017-11-11 04:32:46

标签: node.js amazon-web-services vue.js amazon-elastic-beanstalk

我有一个vuejs应用程序,我试图通过弹性beanstalk cli部署到aws。我收到错误Following services not running: application,我不确定这意味着什么。当我查看日志时,我得到了

npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the start script 'node build/dev-server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ntertainus package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node build/dev-server.js

这是我第一次尝试使用cli并希望有人可以帮助我,我会非常感激

这是我认为失败的package.json文件的一部分

"scripts": {
    "dev": "npm start",
    "start": "node build/dev-server.js",
    "build": "node build/build.js",
    "unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
    "e2e": "node test/e2e/runner.js",
    "test": "npm run unit && npm run e2e",
    "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs"
},

0 个答案:

没有答案