This repository was archived by the owner on Aug 7, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 40
ERROR in ./main.aot.ts #231
Comments
Try to change you routes like this example: And i think you need a custom loader, take a look at the examples repo on the lazy-load-webpack-aot branch |
Thanks for reply @danielgek. I have added custom loader "ns-module-factory-loader.ts" & changed "appRoutes" as your suggestion but still getting this error:
|
@jibon57 lock webpack version on you package.json |
@danielgek, Will you please explain it little bit more? My package.json part:
|
@danielgek, I have changed it like this:
But still same error :( :
|
Same issue here |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I am trying to use webpack in my existing project but I am getting following error:
In where I am doing wrong?
app.modules.ts:
routing.ts
The text was updated successfully, but these errors were encountered: