Skip to content

Deploy to heroku is not working using yo angular-fullstack:heroku #1966

@wikett

Description

@wikett
Item Version
generator-angular-fullstack 3.7.5
Node 4.4.5
npm 3.9.5
Operating System Windows 7
Item Answer
Transpiler Babel
Markup HTML
CSS SCSS
Router ui-router
Build Tool Grunt
Client Tests Jasmine
DB MongoDB
Auth Y

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?

  1. cd dist
  2. heroku create
  3. git init
  4. git add .
  5. git commit -m "first commit"
  6. git push heroku master
  7. heroku open

Could you explain me the steps to create an app and deploy to heroku instead of using yo angular-fullstack:heroku ??

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions