我是非常新的亚马逊网络服务,我正在尝试在他们的弹性beanstalk上设置node.js应用程序.我设置了实例并上传/部署了站点,但是当运行状况为"Ok"时,node.js日志显示重复约30次:
npm ERR! enoent ENOENT: no such file or directory, open '/var/app/current/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /var/app/current/npm-debug.log
npm ERR! Linux 4.1.13-19.31.amzn1.x86_64
npm ERR! argv "/opt/elasticbeanstalk/node-install/node-v4.2.3-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v4.2.3-linux-x64/bin/npm" "start"
npm ERR! node v4.2.3
npm ERR! npm v2.14.7
npm ERR! path /var/app/current/package.json
npm …Run Code Online (Sandbox Code Playgroud) amazon-ec2 amazon-web-services node.js amazon-elastic-beanstalk