So I am trying to make my procfile for Heroku CLI but I don't think Heroku is recognizing it because when I do $ git push heroku main
the Procfile doesn't work rather it does npm start
rather than what's written in the Procfile but it works when I run it locally like heroku local --procfile=procfile
. And I'm pretty sure that the P of my profile is correct so that's not the issue
When I do $ git push heroku main
( Updated ): https://i.stack.imgur.com/gGcSZ.png
When I do $ heroku local --procfile=procfile
https://i.stack.imgur.com/BErzz.png
Folder Pic: https://i.stack.imgur.com/blHei.png
Procfile : worker: node index.js
Full git view + commiting :- https://i.stack.imgur.com/KYOHw.png
package.json :
"name": "ban-counter",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"discord.js": "^13.6.0"
}
}