opensea-js icon indicating copy to clipboard operation
opensea-js copied to clipboard

npm error when trying to install the package

Open gouffreNFT opened this issue 5 years ago • 4 comments

npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -4058 npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t https://github.com/ProjectWyvern/ethereumjs-abi.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

When trying to npm install opensea-js Can someone help me?

gouffreNFT avatar Oct 22 '21 12:10 gouffreNFT

Same issue , did you find any clue ?

daoudnagy avatar Oct 25 '21 14:10 daoudnagy

you need to make sure git is installed on your system. i think npm has win-git. make sure to install global. also, use node js version 14x.

workhard9999 avatar Oct 31 '21 16:10 workhard9999

you need to make sure git is installed on your system. i think npm has win-git. make sure to install global. also, use node js version 14x.

How to install win-git?

arishabh avatar Jan 02 '22 15:01 arishabh

A temporary fix for this is using yarn instead of npm.

npm install --global yarn
yarn add opensea-js

We are looking into why this is an issue with npm. In the meantime, please follow the issue here for the latest updates: https://github.com/ProjectOpenSea/opensea-js/issues/471

esteban-OpenSea avatar Apr 18 '22 20:04 esteban-OpenSea