I have a heroku node.js app and I have the following folder structure:
.git
app
node_modules
.env
.gitignore
package.json
Procfile
package.json:
{
"name": "test",
"description": "test bot",
"version": "1.0.0",
"main": "app/scripts/main.js",
"devDependencies": {
"discord.js": "latest",
},
"author": "Me",
"license": "ISC",
"dependencies": {
"discord.js": "^11.0.0"
}
}
Procfile:
worker: node .
node .
works just fine locally in the git window, but it doesn't seem to be working on the heroku server.
I see worker.1: crashed 2017/03/12 15:37:57 -0400 (~ 20s ago)
if I do heroku ps
.
I'm guessing the worker: node . doesn't work properly? My main.js script is located in the folder structure like so: app/scripts/main.js
.
Thoughts?
via Shazboticus S Shazbot
No comments:
Post a Comment