walletconnect-monorepo
walletconnect-monorepo copied to clipboard
Attempting to install via command `npm i @walletconnect/web3-provider` on Windows 10 with Node 17.5
Attempting to install via command npm i @walletconnect/web3-provider
on Windows 10 with Node 16
I'm getting the following error:
PS D:\Github\goingup-xyz\web-app> npm i @walletconnect/web3-provider
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Mark\AppData\Local\npm-cache\_logs\2022-01-25T10_19_00_644Z-debug-0.log
Thanks in advance
Originally posted by @markibanez in https://github.com/WalletConnect/walletconnect-monorepo/discussions/742
Have you been able to get this to work?
Hi, I have the same problem, did you fix it?
same problem. To provide more info:
- under
node:16.13.1 ubuntu:22.04 npm:8.15.1
install successfully - under
node:16.13.1-alpine
install error - under
node:16.13.1-bullseye
install successfully
Looks like this problem is related to whether you have git
installed. If not, install git
first.
I got it working by doing the following steps:
- change 2 files in
/nodejs
to fix thenpm WARN config global --global, --local are deprecated. Use --location=global instead.
(see https://stackoverflow.com/questions/72401421/message-npm-warn-config-global-global-local-are-deprecated-use-loc) - installing git
Hey @Khan3930 did @SenadK95 solution resolve your issue?