npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm download package using HTTP instead of HTTPS

Hi,

Command: npm install appium

The installation tried to download http://repo1.maven.org/maven2/io/selendroid/selendroid-standalone/0.17.0/selendroid-standalone-0.17.0-with-dependencies.jar using HTTP instead of HTTPS. Our company firewall is blocking all non HTTPS download. How to fix such issue? Should npm download all packages via HTTPS nowadays.

[10:09:53] Java version 1.8.0_181 found
[10:09:54] Ensuring /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download exists
[10:09:54] Downloading Selendroid standalone server version 0.17.0 from http://repo1.maven.org/maven2/io/selendroid/selendroid-standalone/0.17.0/selendroid-standalone-0.17.0-with-dependencies.jar --> /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download/selendroid-server-7cf7163ac47f1c46eff95b62f78b58c1dabdec534acc6632da3784739f6e9d82.jar
[10:10:05] Writing binary content to /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download/selendroid-server.jar.tmp
[10:10:06] Selendroid standalone server downloaded
[10:10:06] Determining AndroidManifest location

Thanks

–Guang


This seems to be a build script, not npm itself.


You are suggesting the build script in appium that downloads the components not npm? If that’s the case, please go ahead and close the bug. I would open the bug on appium project.

Thanks

–Guang


You’ve configured your registry to be http