-
Notifications
You must be signed in to change notification settings - Fork 26
Can't install (Windows 10) #34
Comments
Using yarn. PS D:\OpenZeppelin> yarn global add @openzeppelin/[email protected] |
I see that the latest version is 2.6.0. Tried to install. Same issue. |
Hey/ @KomplexMojo! Sorry to hear about your experience. Have you tried windows build tools? They helped many people on windows to install node dependencies. |
Thanks for the feedback. I'm technical but fairly new to this so I'm stumbling around a bit. I do have windows build tools installed but I re-installed it just in case. Could this be a permissions thing on the Web-Sockets git? I tried. $ git ls-remote [email protected]:web3-js/WebSocket-Node.git Please make sure you have the correct access rights and the repository exists. |
same as this issue. git dependency in install code: web3/web3.js#3071 |
The web3 issue suggests installing Git for Windows Alternatively you may want to consider using Windows Subsystem for Linux (WSL). I previously developed on Windows 7 & 10 but have a much easier time with WSL. |
@KomplexMojo I assume the issue is that you need to install Git. For setting up for Solidity Smart Contract Development on Windows please see the following guide: There is an Issue with OpenZeppelin Network.js on Windows OpenZeppelin/openzeppelin-network.js#27 though you can install using Git Bash terminal if using native Windows. |
Following the install instructions I can't install on Windows 10. Looks like it can't find the WebSocket-Node.git
1225 verbose stack Error: spawn git ENOENT
1225 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
1225 verbose stack at onErrorNT (internal/child_process.js:456:16)
1225 verbose stack at processTicksAndRejections (internal/process/task_queues.js:80:21)
1226 verbose cwd D:\OpenZeppelin
1227 verbose Windows_NT 10.0.17763
1228 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "@openzeppelin/[email protected]"
1229 verbose node v12.13.1
1230 verbose npm v6.12.1
1231 error code ENOENT
1232 error syscall spawn git
1233 error path git
1234 error errno ENOENT
1235 error enoent Error while executing:
1235 error enoent undefined ls-remote -h -t ssh://[email protected]/web3-js/WebSocket-Node.git
1235 error enoent
1235 error enoent
1235 error enoent spawn git ENOENT
1236 error enoent This is related to npm not being able to find a file.
1237 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: