Reputation: 92119
I am new to front-end and was trying to fork and follow the steps to deploy the work on Heroku, but it failed. My changes are available here.
The steps I performed as following
heroku local web
My repository is available on GitHub at https://github.com/hhimanshu/web-starter-kit/
What am I doing wrong? Kindly help
Upvotes: 0
Views: 386
Reputation: 1491
Finally, I tested on my local computer. It works fine. I do not see any difference but I'll write the steps I followed. Maybe you will see the difference.
git clone
the repomkdir dist
dist/package.json
and dist/server.js
from there.dist
to dist/public
in gulpfile.babel.jsgulp
in root foldernpm install
in root foldernpm install
in dist foldernpm start
. it's ok on localhost:3000
heroku local web
in dist
folderAnd result (github repo):
[WARN] No ENV file found
[WARN] ENOENT: no such file or directory, open 'Procfile'
[OKAY] package.json file found - trying 'npm start'
6:03:42 PM web.1 | > @ start /home/hisener/Projects/web-starter-kit-heroku/dist
6:03:43 PM web.1 | > node server.js
6:03:43 PM web.1 | Server running...
I hope it would be helpful.
Upvotes: 1