-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Deploy to heroku is not working using yo angular-fullstack:heroku #1966
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
look at this: check the comment by djpark at the end, it might help you. |
I think your issue is that you are not linking a valid heroku app. In order for your remote to be connected to an application it needs be like follows
Then, when you want to update the application
That is what I have been doing and it works great! |
Here is the easiest workaround: After yo has generated the app, go to heroku.com and create and application manually (ex. foo-bar-42424), then starting frome the root foolder run the following commands:
Done |
Savli's approach worked for me, except for all the grunt commands. I attempted to follow the steps outlined in the "grunt build control" link mentioned here...still no luck. In the end I used "gulp" instead of "grunt" for all the commands that Savli listed, and it worked! I still needed to connect my MongoDB, which wasn't straight forward. Couldn't leverage the generator commands, couldn't add it using Heroku's dashboard either. So I'll share how I did it. To connect MongoDB, I had to set up MongoLab through mLab's website.
Hope this helps! |
flaurians instructions should be merged in the Read Me. ,d |
Remove 'yo angular-fullstack:heroku' (not working) Update docs to reflect manual setup Fixes: angular-fullstack#1966, angular-fullstack#1950
Remove 'yo angular-fullstack:heroku' (not working) Update docs to reflect manual setup Fixes: angular-fullstack#1966, angular-fullstack#1950
Remove 'yo angular-fullstack:heroku' (not working) Update docs to reflect manual setup Fixes: angular-fullstack#1966, angular-fullstack#1950
Remove 'yo angular-fullstack:heroku' (not working) Update docs to reflect manual setup Fixes: angular-fullstack#1966, angular-fullstack#1950
Remove 'yo angular-fullstack:heroku' (not working) Update docs to reflect manual setup Fixes: angular-fullstack#1966, angular-fullstack#1950
@flaurian steps should definitely be merged into Heroku readme. The confusing part is that you need to step out of dist and run the two last commands inside of root:
|
how about using |
Hello, I have just created my app, working perfectly in localhost but when I try to deploy to Heroku I have problems.
First of all, using
yo angular-fullstack:heroku
I get this error:(!) NamedBase constructor is deprecated. See https://github.com/yeoman/generator /issues/882 ? Name to deploy as (Leave blank for a random name):
How can deploy into Heroku? must I wait when that issue it will be fixed?
I have tried to deploy manually, following the steps: https://github.com/angular-fullstack/generator-angular-fullstack/issues/1920 https://github.com/angular-fullstack/generator-angular-fullstack/issues/1950 but I can't get sorted.
After installing angular-fullstack, have I to create a heroku app?
Could you explain me the steps to create an app and deploy to heroku instead of using
yo angular-fullstack:heroku
??Thanks in advance
The text was updated successfully, but these errors were encountered: