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

Cannot deploy locally: $injector:modulerr #151

Open
ghost opened this issue Feb 14, 2024 · 0 comments
Open

Cannot deploy locally: $injector:modulerr #151

ghost opened this issue Feb 14, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 14, 2024

  1. I have followed all the instructions, including installing Node 16.17.0.
  2. Then as primo-explore files (primo-explore > custom > TEST), used files from https://github.com/ExLibrisGroup/primo-explore-package/tree/master/VIEW_CODE . I just wanted a working sample to start tweaking around.
  3. Added production Primo URL in config.js (https://ocul-bu.primo.exlibrisgroup.com:443)

First experienced error was a JSON parse error. Was able to bypass that by adding body = body == '' ? '{}' : body; in file 08-servers.js. (Clearly the code was not expecting an empty body here, but should have added appropriate error handling.)

Then this second error happens in the console with endless loading animation.

image

Has anyone been able to properly deploy it locally in recent days? Am I missing something here?

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

0 participants