You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use moduleId in @component() decorator in a project where @NxRx is used. Run 'ng test' -> get weird errors.
The log given by the failure.
Module build failed: TypeError: Cannot read property 'getChildAt' of undefined
at refactor.findAstNodes.filter.forEach (E:\Documents\Visual Studio 2015\Projects\prj\node_modules@ngtools\webpack\src\loader.js:221:54)
at Array.forEach (native)
at _removeModuleId (E:\Documents\Visual Studio 2015\Projects\prj\node_modules@ngtools\webpack\src\loader.js:215:10)
at Promise.resolve.then.then (E:\Documents\Visual Studio 2015\Projects\prj\node_modules@ngtools\webpack\src\loader.js:298:33)
@hansl thanks for looking into this. Can I give you the link to the private repo? I have it in VSTS. I will need your MS account. Or I can zip it and give a private link (via email). Sorry, can't make that repo public.
Activity
hansl commentedon Mar 1, 2017
Hi @alvipeo, I tried reproducing this but couldn't. Could you give me a repository or some code example? What does your Component looks like?
alvipeo commentedon Mar 1, 2017
@hansl thanks for looking into this. Can I give you the link to the private repo? I have it in VSTS. I will need your MS account. Or I can zip it and give a private link (via email). Sorry, can't make that repo public.
yusijs commentedon Mar 6, 2017
I'm getting the same error, without ngrx in my project (although with angular-material):
and
I'm also getting this:
Not certain if it's a related issue, but same module build error at least (I'm on rc.1)
Wrote up a quick repo that reproduces the error for me.
ng -v:
Hope this helps :) (// cc @hansl)
fix(@ngtools/webpack): add parent nodes and keep program
fix(@ngtools/webpack): add parent nodes and keep program
fix(@ngtools/webpack): add parent nodes and keep program
fix(@ngtools/webpack): add parent nodes and keep program
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.
fix(@ngtools/webpack): add parent nodes and keep program