This repository was archived by the owner on Mar 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Error installing web3.js on Windows #2973
Comments
For a workaround see: #2971 (comment). |
Thank you! It worked |
michaelsbradleyjr
added a commit
to michaelsbradleyjr/web3.js
that referenced
this issue
Jul 28, 2019
The `michaelsbradleyjr/Websocket-Node#polyfill/globalThis` branch uses a more robust approach to resolve a browser's `window` object. It also includes all the latest commits on the upstream's `master` branch, including fixes for the `.git/` subdir npm bug and Node v12.x compatibility. The `"preinstall"` script in `packages/web3-providers-ws/package.json` is removed because it's not helpful and its use of `rm` causes Windows incompatibility. Closes web3#2973. `packages/web3-providers-ws/src/index.js` is refactored since the `websocket` package already does native WebSocket detection.
michaelsbradleyjr
added a commit
to michaelsbradleyjr/web3.js
that referenced
this issue
Jul 28, 2019
The `michaelsbradleyjr/Websocket-Node#polyfill/globalThis` branch uses a more robust approach to resolve a browser's `window` object. It also includes all the latest commits on the upstream's `master` branch, including fixes for the `.git/` subdir npm bug and Node v12.x compatibility. The `"preinstall"` script in `packages/web3-providers-ws/package.json` is removed because it's not helpful and its use of `rm` causes Windows incompatibility. Closes web3#2971 and web3#2973. `packages/web3-providers-ws/src/index.js` is refactored since the `websocket` package already does native WebSocket detection.
michaelsbradleyjr
added a commit
to michaelsbradleyjr/web3.js
that referenced
this issue
Jul 29, 2019
The `michaelsbradleyjr/Websocket-Node#polyfill/globalThis` branch uses a more robust approach to resolve a browser's `window` object. It also includes all the latest commits on the upstream's `master` branch, including Node v12.x compatibility and a workaround for the `.git/` subdir npm bug. The `"preinstall"` script in `packages/web3-providers-ws/package.json` is removed because it's not helpful and its use of `rm` causes Windows incompatibility. Closes web3#2971 and web3#2973. `packages/web3-providers-ws/src/index.js` is refactored since the `websocket` package already does native WebSocket detection.
nachomazzara
pushed a commit
to nachomazzara/web3.js
that referenced
this issue
Jun 4, 2020
The `michaelsbradleyjr/Websocket-Node#polyfill/globalThis` branch uses a more robust approach to resolve a browser's `window` object. It also includes all the latest commits on the upstream's `master` branch, including Node v12.x compatibility and a workaround for the `.git/` subdir npm bug. The `"preinstall"` script in `packages/web3-providers-ws/package.json` is removed because it's not helpful and its use of `rm` causes Windows incompatibility. Closes web3#2971 and web3#2973. `packages/web3-providers-ws/src/index.js` is refactored since the `websocket` package already does native WebSocket detection.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I get the error in the pic when i try to install web3.js on windows. Can anyone help me to fix it?
The text was updated successfully, but these errors were encountered: