Skip to content
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

Route not found after deployed to GitHub Page #1775

Closed
funnytao opened this issue Aug 20, 2016 · 4 comments
Closed

Route not found after deployed to GitHub Page #1775

funnytao opened this issue Aug 20, 2016 · 4 comments
Assignees
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix

Comments

@funnytao
Copy link

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.

@filipesilva
Copy link
Contributor

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

@filipesilva filipesilva added the needs: repro steps We cannot reproduce the issue with the information given label Aug 23, 2016
@funnytao
Copy link
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.

@filipesilva filipesilva added type: bug/fix command: deploy P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent and removed needs: repro steps We cannot reproduce the issue with the information given labels Aug 23, 2016
@filipesilva filipesilva self-assigned this Aug 23, 2016
@filipesilva
Copy link
Contributor

Closed via #4385.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix
Projects
None yet
Development

No branches or pull requests

2 participants