Skip to content

Misleading docs - oclazyload with Systemjs not working (maybe just a bug?) #224

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

Closed
kresli opened this issue Aug 18, 2015 · 3 comments
Closed

Comments

@kresli
Copy link

kresli commented Aug 18, 2015

Hi,
According to the docs https://oclazyload.readme.io/docs/systemjs, Systemjs should works without any issues already but it looks like oclazyload is not loading new modules into angular structure. There is no error in console so Im not sure what happening. I created this repo as an example https://github.com/kresli/systemjs-oclazyload-seed-example. Even I can see that the modules went through the oclazyload, the run function in third module is not evaluated.
After cloned repo please run this commands:
npm install
./node_modules/jspm/jspm.js install
./node_modules/serve/bin/serve

@kresli
Copy link
Author

kresli commented Aug 19, 2015

Looks like this is issue with oclazyload version. As @scottmcnab described here #221, revert oclazyload to lower version from 1.0.4 to 1.0.3 cause config successfully initialised but run is still not invoked. However, degrading oclazyload to 1.0.1 version, everything works ok.

@srolel
Copy link

srolel commented Aug 22, 2015

Same here, reverting to 1.0.1 works for me as well. However, this might not be related to SystemJS, see #221

@ocombe
Copy link
Owner

ocombe commented Aug 23, 2015

Yes it's related to #221, closing this one as it is in fact a duplicate. Thanks for the report though

@ocombe ocombe closed this as completed Aug 23, 2015
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