-
Notifications
You must be signed in to change notification settings - Fork 12k
[Bug] Webpack hangs when requiring external templates/css inside components with an app-shell project #1502
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
Comments
You haven't linked cli when you created a new app |
@sirajc Hmm...I'll try. I linked the cli afterwards with |
@sirajc Ok, deleted my project, retried with the |
Dupe of #1371 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
OSX El Capitan
Versions. Please run
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
Generate a new app targeted for mobile with app-shell and stuff using
ng new testapp --mobile
. That installs just fine and runs. Then add a new component likeng g component demo
. That works as well, however if you then import that generated<app-demo>
component inapp.component.ts
and runng serve
, webpack hangs with this message:After a while I get an exception from zone.js:
Mention any other details that might be useful.
This entire workflow above runs perfectly when generating a "plain normal" project without the app-shell.
The text was updated successfully, but these errors were encountered: