ERROR in Step1Module?loader=system
gorshkov-leonid opened this issue · comments
"loaders": [
"angular-router-loader?sync=true&aot=true&genDir=compiled&debug=true",
"@ngtools/webpack"
]
After I used query parameters
{path: "step1", loadChildren: "./step1/step1.module#Step1Module?loader=system"},
, I got error: ERROR in Step1Module?loader=system is not an NgModule
This does not work too: {path: "step1", loadChildren: "./step1/step1.module#Step1Module?chunkName=Step1Module"},
Angula 4, Is it bug?
Since you're using @ngtools/webpack you don't need angular-router-loader
…On Apr 6, 2017 11:19 AM, "Leonid Gorshkov" ***@***.***> wrote:
"loaders": [
"angular-router-loader?sync=true&aot=true&genDir=compiled&debug=true",
***@***.***/webpack"
]
After I used query parameters
{path: "step1", loadChildren: "./step1/step1.module#Step1Module?loader=system"},
, I got error: ERROR in Step1Module?loader=system is not an NgModule
Angula 4, Is it bug?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#71>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACk427zjvjNUh8YlypTArf20HhKc5C4ks5rtR60gaJpZM4M16B5>
.
Ok, thank you. I thought that it can be related with problem https :// github.com/ angular/ angular/ issues/ 10958 and decide to answer.