Route not found after deployed to GitHub Page #1775
Copy link
Copy link
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenttype: bug/fix
Description
Please provide us with the following information:
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Win 10
- Versions. Please run
ng --version. If there's nothing outputted, please run
in a Terminal:node --versionand paste the result here:
node: 4.4.6
os: win32 x64
- 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.
- 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)
- 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.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenttype: bug/fix
Activity
filipesilva commentedon Aug 23, 2016
Can you give me a repo that I can use to deploy and reproduce this? I'll try to debug what's happening.
funnytao commentedon Aug 23, 2016
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 commentedon Feb 3, 2017
Closed via #4385.
angular-automatic-lock-bot commentedon Sep 6, 2019
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.