-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network access - use CORS proxy to access NPM registry #1
Comments
webnpm now attempts to send the HTTP request. However, it fails due to cross-origin restrictions. Now to proceed further needs: GH-1 Network access
The failure (after fixes in GH-2) without a CORS proxy is: npm.commands.install(['ucfirst']) with a CORS proxy (run req.on("error", cb)
req.on("socket", function (s) {
s.on("error", cb)
}) The returned |
webnpm needs some way to access the network if it ever hopes to be useful.
Use a CORS proxy https://www.npmjs.com/package/corsproxy? XMLHttpRequest, also see https://fetch.spec.whatwg.org
The text was updated successfully, but these errors were encountered: