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

Cannot find module './app.component.html' from 'app.component.js' #4

Open
ghost opened this issue Oct 17, 2018 · 2 comments
Open

Cannot find module './app.component.html' from 'app.component.js' #4

ghost opened this issue Oct 17, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 17, 2018

After running ng add and running the tests I get:

 Cannot find module './header.component.html' from 'header.component.js'

      53 |     return HeaderComponent;
      54 | }());
    > 55 | export { HeaderComponent };
      56 | //# sourceMappingURL=header.component.js.map

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:169:17)
      at dist/out-tsc/src/app/header/header.component.js:55:19
      at Object.<anonymous> (dist/out-tsc/src/app/header/header.component.js:61:2)
@davinkevin
Copy link
Owner

I've just done the same on a blank project and on my own and this work fine.

Could you provide more information (version of project, version of cli, version of angular...) ?

@davinkevin
Copy link
Owner

Any news about this?

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

1 participant