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

Lazy module does not working #8

Open
GigaGyrfalcon opened this issue Jul 11, 2017 · 2 comments
Open

Lazy module does not working #8

GigaGyrfalcon opened this issue Jul 11, 2017 · 2 comments

Comments

@GigaGyrfalcon
Copy link

Is any way to works with lazy modules?

@jbeckton
Copy link

I was able to clone this and get a lazy loaded module working, can you post your code to a plunker?

@KrGyan
Copy link

KrGyan commented Aug 9, 2017

I am getting below error with Lazy Load

ERROR { Error: Uncaught (in promise): ReferenceError: System is not defined
ReferenceError: System is not defined
at SystemJsNgModuleLoader.loadFactory (E:\Angular\designcourse\AOT_build_complete\angular-seo\packages\core\src\linker\system_js_ng_module_factory_loader.ts:67:1)
at SystemJsNgModuleLoader.load (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules@angular\core\bundles\core.umd.js:5666:35)
at RouterConfigLoader.loadModuleFactory (E:\Angular\designcourse\AOT_build_complete\angular-seo\packages\router\src\router_config_loader.ts:71:1)
at RouterConfigLoader.load (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules@angular\router\bundles\router.umd.js:3527:52)
at MergeMapSubscriber.project (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules@angular\router\bundles\router.umd.js:1694:74)
at MergeMapSubscriber._tryNext (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\rxjs\src\operator\mergeMap.ts:125:21)
at MergeMapSubscriber._next (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\rxjs\src\operator\mergeMap.ts:115:12)
at MergeMapSubscriber.Subscriber.next (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\rxjs\src\Subscriber.ts:95:12)
at ScalarObservable._subscribe (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\rxjs\src\observable\ScalarObservable.ts:51:18)
at ScalarObservable.Observable._trySubscribe (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\rxjs\src\Observable.ts:216:19)
at resolvePromise (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\zone.js\dist\zone-node.js:783:31)
at resolvePromise (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\zone.js\dist\zone-node.js:754:17)
at E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\zone.js\dist\zone-node.js:831:17
at ZoneDelegate.invokeTask (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\zone.js\dist\zone-node.js:424:31)
at Object.onInvokeTask (E:\Angular\designcourse\AOT_build_complete\angular-seo\packages\core\src\zone\ng_zone.ts:288:1)
at ZoneDelegate.invokeTask (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\zone.js\dist\zone-node.js:423:36)
at Zone.runTask (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\zone.js\dist\zone-node.js:191:47)
at drainMicroTaskQueue (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\zone.js\dist\zone-node.js:595:35)
at ZoneTask.invokeTask (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\zone.js\dist\zone-node.js:502:21)
at Server.ZoneTask.invoke (E:\Angular\designcourse\AOT_build_complete\angular-seo\node_modules\zone.js\dist\zone-node.js:487:48)

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

3 participants