Hi
I tried adding a raw proxy for
https://github.com in nexus3 and added it to our group, but it just ignores it:
> phan...@2.1.7 install /testphantomjs/node_modules/phantomjs
> node install.js
PhantomJS not found on PATH
Downloading
https://github.com/Medium/phantomjs/releases/download/v2.1.1//phantomjs-2.1.1-linux-x86_64.tar.bz2Saving to /testphantomjs/node_modules/phantomjs/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...
Received 22866K total.
My github.com-npm proxy is empty, any ideas, add a local node_module just for this?
Very easy to test with Docker, create your nexus3 group consisting of a npm local for local files, and add a
https://npmjs.org and
https://github.com proxies
$ cat Dockerfile
FROM mhart/alpine-node:6.7.0
RUN mkdir /testphantomjs && cd /testphantomjs && npm config set registry "
https://nexus3repo:8443/repository/bp-npm/" && npm init -q -y && npm install phantomjs --save
$ docker build -t phantomjs-test .
After finishing building:
Nothing in your github proxy, while your
nodejs.org proxy has a lot.
--
MortenB