Skip to content

Route not found after deployed to GitHub Page #1775

Closed

Description

@funnytao

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Win 10

  1. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:

node: 4.4.6
os: win32 x64

  1. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.

Everything went smooth.

  1. The log given by the failure. Normally this include a stack trace and some
    more information.

EXCEPTION: Error: Uncaught (in promise): Error: Cannot match any routes: 'angular2-dashboard'
('angular2-dashboard' is the name of the project repository)

  1. Mention any other details that might be useful.

I was trying to deploy my Angular 2 app to my GitHub Page with Angular Cli, but I got router problem saying that the route was not found. I think there should be some settings I haven't made properly but I fail to figure it out. Can anyone having experience deploying project to GitHub Page help me with it? Thank you so much.


Thanks! We'll be in touch soon.

Activity

  1. filipesilva commented on Aug 23, 2016

    @filipesilva
    Contributor

    Can you give me a repo that I can use to deploy and reproduce this? I'll try to debug what's happening.

  2. funnytao commented on Aug 23, 2016

    @funnytao
    Author

    Hi @filipesilva , here is the repo: https://github.com/funnytao/angular2-dashboard. I think angular cli is supposed to handle that. Thank you so much.

  3. added
    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
    and removed
    needs: repro stepsWe cannot reproduce the issue with the information given
    on Aug 23, 2016
  4. self-assigned this
    on Aug 23, 2016
  5. filipesilva commented on Feb 3, 2017

    @filipesilva
    Contributor

    Closed via #4385.

  6. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  7. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenttype: bug/fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions