I am trying to set-up my first heroku app. I have gone through the tutorial and now am trying to upload my own files I have, when I go to upload the files to the git repo using git push heroku master it works fine and says everything is up to date. But, when I access the site I get this error message in the build log:
-----> Failed to detect app matching https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/nodejs.tgz buildpack More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure ! Push failed This to me seems quite contradictory because, it works fine when I push it in the git repo. I have already tried using commands such as git show master:package.json, git add package.json, git commit -m 'track package.json'and then pushing it. None of the are fixing it. I get it when I click the deploy branch button on the app dashboard. Does anyone have an idea on how to fix this?
My package.json file looks like this:
{
"name": "gamers-social-media",
"version": "1.0.0",
"description": "chat app for gamers",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"author": "Morgan Clarke",
"license": "ISC",
"dependencies": {
"ejs": "^2.5.6",
"express": "^4.15.2",
"socketio": "^1.0.0"
}
}
via Morgan Clarke
No comments:
Post a Comment