ExLibrisGroup / primo-explore-devenv

A node.js , gulp based development enviornment for Primo's new UI customizations (css,images,html and javascript)
BSD 3-Clause "New" or "Revised" License
114 stars 84 forks source link

Cannot deploy locally: ```$injector:modulerr``` #151

Open ghost opened 9 months ago

ghost commented 9 months ago
  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?