NPM Updates Fail Behind Proxy #1338
Closed
Comments
Meteor checks that it can GET |
I have modified the method locally to remove that connectivity checking call and everything works as expected. Now I know what the issue is, I will work on a pull request. Thanks |
Http proxy support is now on devel (3177d9a) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am currently working on a customer site where all traffic is transparently sent via their filtering proxy by the firewall and I am having failures whenever Meteor attempts to install the latest NPM dependencies within packages (core packages included).
I am running from the releases/0.6.5 tag and the developer bundle created from the scripts provided in the git repository as is documented.
Using NPM normally (The version shipped with Node on the development machine), we have no issues installing modules through the proxy as NPM is respecting the environment variables for the proxy configuration.
However, from what code I have had time to look through, Meteor is calling the NPM version within the dev bundle, which when I run
./dev_bundle/bin/npm config list
, is also showing the proxy configuration is picked up from my~/.npmrc
file.Does anyone know why when running NPM through Meteor, it is failing to download and install the modules and if there is a workaround in place at present?
My workaround at the moment is not a nice one. I am having to go into the
packages/packagename/.npm/
directory, copy thenpm-shrinkwrap.json
file topackage.json
, runnpm install
, then remove thepackage.json
file in order to install the dependencies.Specific output from running Meteor
meteor test-packages
webapp: updating npm dependencies -- connect, send, useragent...
mongo-livedata: updating npm dependencies -- mongodb...
handlebars: updating npm dependencies -- handlebars...
compileCoffeescript: updating npm dependencies -- coffee-script, source-map...
email: updating npm dependencies -- mailcomposer, simplesmtp, stream-buffers...
star-translate: updating npm dependencies -- ncp...
compileLess: updating npm dependencies -- less...
compileStylus: updating npm dependencies -- stylus, nib...
ctl-helper: updating npm dependencies -- optimist...
minifiers: updating npm dependencies -- clean-css, uglify-js...
=> Errors while scanning packages:
The text was updated successfully, but these errors were encountered: