ExLibrisGroup/primo-explore-devenv

Cannot access application built with browserify.

Closed this issue · 3 comments

After pulling the latest changes, when I use gulp run --view <myView> --browserify to build my package and try to access the application running locally, I get the following message.

Error: connect ECONNREFUSED 127.0.0.1:80
    at Object.exports._errnoException (util.js:1028:11)
    at exports._exceptionWithHostPort (util.js:1051:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)

It works fine when the changes after #30 are discarded.

Kind Regards,
Murat

Hi Murat,

I'm seeing this error too. It looks like the problem was first introduced with this commit: 8a5b06d

Jeff

More info... I found that commit 8a5b06d works if I add --proxy to the run command (e.g. gulp run --view CENTRAL_PACKAGE --proxy 'https://primo-server:443' --browserify).

Is --proxy supposed to be optional or required?

I am facing the same issue. The --proxy addition helps, application loads. This info should be added to the README probably?

(For anyone who saw the unedited version of this comment: I had tested with an old customization package, so the view didn't load. Getting a fresh one from the BO fixed the "eternally wobbling three diamonds" issue.)