-
Notifications
You must be signed in to change notification settings - Fork 5k
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
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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: