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

Failed to load home.component.html #1496

Closed
maxisam opened this issue Feb 8, 2017 · 2 comments
Closed

Failed to load home.component.html #1496

maxisam opened this issue Feb 8, 2017 · 2 comments

Comments

@maxisam
Copy link
Contributor

maxisam commented Feb 8, 2017

Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass

  • I'm submitting a ...
    [ X] bug report

  • What is the current behavior?

I just download the whole project clean and run yarn from the beginning.

After npm start, the site can't start correctly.

the error I got was

Failed to load home.component.html.

Apparently it trys to load the page from root but fail.

http://localhost:3000/home.component.html

My best guess is webpack's issue ?

  • Please tell us about your environment:

I tried it on 2 machines. None of them works. Same error message.

npm 6.9.5 , npm 7.2 | Chrome

@szzProject
Copy link

same error

@maxx0r
Copy link

maxx0r commented Feb 8, 2017

Related issue
#1484

can be fixed by fixing angular2-template-loader to 0.6.0 (0.6.1 is installed currently, which apperently breaks the build)
#1484 (comment)

TheLarkInn/angular2-template-loader#50
fix is on it's way. You can also solve it by adding a dangling comma after the templateUrl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants