jeudi 16 avril 2015

Error deploying Elastic Beanstalk application using git aws.push

This is my error message:


npm ERR! Linux 3.14.35-28.38.amzn1.x86_64 npm ERR! argv "/opt/elasticbeanstalk/node-install/node-v0.12.0-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v0.12.0-linux-x64/bin/npm" "start" npm ERR! node v0.12.0 npm ERR! npm v2.5.1 npm ERR! path /var/app/current/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! enoent ENOENT, 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


This is my package.json file:



{
"name": "site-mshin",
"version": "0.0.1",
"private": true,
"author": "sinuheshin",
"scripts": {
"start": "node app.js"
},

"dependencies": {
"body-parser": "*",
"mongoose": "*",
"express": "*",
"serve-favicon": "*",
"ejs": "*",
"aws-sdk": "*"
}

}




Aucun commentaire:

Enregistrer un commentaire