-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Deploy to Heroku index.html 404 #796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1 |
Hi, I'm using the same version and I haven't seen that problem. Is that the only error you're getting? |
@gaboesquivel I haven't gotten past this 404 error yet ... |
I mean on the heroku log :) . Is that the only error on the log? |
@gaboesquivel oh yeah, thats it, here:
|
I have no idea. If you pack the generated code somewhere I can download it and play it I might be able to help. |
@gaboesquivel ok, freshly generated: https://github.com/jordanbaucke/angular-fullstack-404 Tested and still getting the 404, tried messing with the path |
Having the same exact issue, please post any updates. I'm also not sure that the grunt task is being executed actually creating that output directory. Thanks |
I've got this successfully deploying to Heroku after about 8 hours of research, please let me know if you're still interested in learning how to perform this. |
Yes very much so! |
Yes please. |
ok, i'll have my solution posted within the next 24 hrs. |
@jordanbaucke sorry man, too much work these days. good to know @kbanashek found a solution |
just working through some final steps...give me about an hour or so. |
all good ... I ended up devising a solution for deploying to AWS and am going to clean up the solution and hopefully contribute it to the generator as an alternative. |
@kbanashek any chance you might share you solution? In the meantime I'm cooking up my ec2 deployment process for this generator ... hopefully it'll get pulled in once it's done to provide more options. |
Sure, I'll post my solution later today - sorry didn't realize it was still needed. |
I had the same problem when manually deploying via github, but I think it was not meant by the author to do this via github (see readme). Instruction was to add a heroku git in the dist folder. When then following the heroku git instructions for deployment, it works just fine. The solution from kbanashek solves this problem by adding a github for the dist folder as a workaround. I think this issue can be closed. |
Running the generator from scratch:
// Generated on 2015-01-24 using generator-angular-fullstack 2.0.13
Deployed to heroku with:
yo angular-fullstack:heroku
and thancd dist; heroku addons:add mongolab;
all no problems - but than I get:Checking out the /dist/app/public
So it seems something is happening to the relativity of the directory structure once I deploy?
The text was updated successfully, but these errors were encountered: