Skip to content
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

npm install fails on Mac OS X #69

Closed
jamboj opened this issue Mar 15, 2021 · 29 comments
Closed

npm install fails on Mac OS X #69

jamboj opened this issue Mar 15, 2021 · 29 comments
Labels
investigating OpenSea team is looking into this

Comments

@jamboj
Copy link

jamboj commented Mar 15, 2021

Mac OS X 10.15.7
node 15.10.0
when trying to install I'm getting the below wall of errors that I can't quite understand.. anyone can help please?

lapt1:ae-web3@1.3 adm1$ npm install --save opensea-js
npm WARN deprecated safe-event-emitter@1.0.1: Renamed to @metamask/safe-event-emitter
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated bignumber.js@6.0.0: Custom ALPHABET bug fixed in v7.0.2
npm WARN deprecated axios@0.17.1: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm WARN deprecated core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/adm1/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm WARN deprecated fsevents@1.2.9: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm ERR! npm WARN deprecated safe-event-emitter@1.0.1: Renamed to @metamask/safe-event-emitter
npm ERR! npm WARN deprecated har-validator@5.1.3: this library is no longer supported
npm ERR! npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm ERR! npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm ERR! npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm ERR! npm WARN deprecated chokidar@2.1.6: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm ERR! npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm ERR! npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm ERR! npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! npm WARN deprecated bignumber.js@6.0.0: Custom ALPHABET bug fixed in v7.0.2
npm ERR! npm WARN deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer
npm ERR! npm WARN deprecated axios@0.17.1: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm ERR! npm WARN deprecated core-js@2.6.9: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path /Users/adm1/.npm/_cacache/tmp/git-clone-74cc97c0/node_modules/sha3
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command sh -c node-gyp rebuild
npm ERR! npm ERR! CXX(target) Release/obj.target/sha3/src/addon.o
npm ERR! npm ERR! gyp info it worked if it ends with ok
npm ERR! npm ERR! gyp info using node-gyp@7.1.2
npm ERR! npm ERR! gyp info using node@15.10.0 | darwin | x64
npm ERR! npm ERR! gyp info find Python using Python version 3.8.2 found at "/Library/Developer/CommandLineTools/usr/bin/python3"
npm ERR! npm ERR! gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
npm ERR! npm ERR! gyp info spawn args [
npm ERR! npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! npm ERR! gyp info spawn args   '-f',
npm ERR! npm ERR! gyp info spawn args   'make',
npm ERR! npm ERR! gyp info spawn args   '-I',
npm ERR! npm ERR! gyp info spawn args   '/Users/adm1/.npm/_cacache/tmp/git-clone-74cc97c0/node_modules/sha3/build/config.gypi',
npm ERR! npm ERR! gyp info spawn args   '-I',
npm ERR! npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! npm ERR! gyp info spawn args   '-I',
npm ERR! npm ERR! gyp info spawn args   '/Users/adm1/Library/Caches/node-gyp/15.10.0/include/node/common.gypi',
npm ERR! npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/adm1/Library/Caches/node-gyp/15.10.0',
npm ERR! npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/adm1/Library/Caches/node-gyp/15.10.0/<(target_arch)/node.lib',
npm ERR! npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/adm1/.npm/_cacache/tmp/git-clone-74cc97c0/node_modules/sha3',
npm ERR! npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! npm ERR! gyp info spawn args   '--depth=.',
npm ERR! npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! npm ERR! gyp info spawn args   '--generator-output',
npm ERR! npm ERR! gyp info spawn args   'build',
npm ERR! npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! npm ERR! gyp info spawn args ]
npm ERR! npm ERR! No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
npm ERR! npm ERR! No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
npm ERR! npm ERR! No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
npm ERR! npm ERR! 
npm ERR! npm ERR! 
npm ERR! npm ERR! 
npm ERR! npm ERR! gyp info spawn make
npm ERR! npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! npm ERR! In file included from ../src/addon.cpp:4:
npm ERR! npm ERR! In file included from ../node_modules/nan/nan.h:2818:
npm ERR! npm ERR! ../node_modules/nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
npm ERR! npm ERR!       data   = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
npm ERR! npm ERR!                                           ^
npm ERR! npm ERR! /Users/adm1/Library/Caches/node-gyp/15.10.0/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
npm ERR! npm ERR!   V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
npm ERR! npm ERR!   ^
npm ERR! npm ERR! /Users/adm1/Library/Caches/node-gyp/15.10.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
npm ERR! npm ERR! # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
npm ERR! npm ERR!                                       ^
npm ERR! npm ERR! In file included from ../src/addon.cpp:9:
npm ERR! npm ERR! In file included from ../src/KeccakNISTInterface.h:17:
npm ERR! npm ERR! ../src/KeccakSponge.h:23:9: warning: 'ALIGN' macro redefined [-Wmacro-redefined]
npm ERR! npm ERR! #define ALIGN __attribute__ ((aligned(32)))
npm ERR! npm ERR!         ^
npm ERR! npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/i386/param.h:83:9: note: previous definition is here
npm ERR! npm ERR! #define ALIGN(p)        __DARWIN_ALIGN(p)
npm ERR! npm ERR!         ^
npm ERR! npm ERR! ../src/addon.cpp:83:11: error: no matching member function for call to 'Set'
npm ERR! npm ERR!                 target->Set(className, f);
npm ERR! npm ERR!                 ~~~~~~~~^~~
npm ERR! npm ERR! /Users/adm1/Library/Caches/node-gyp/15.10.0/include/node/v8.h:3716:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! npm ERR!   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR! npm ERR!                                     ^
npm ERR! npm ERR! /Users/adm1/Library/Caches/node-gyp/15.10.0/include/node/v8.h:3719:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
npm ERR! npm ERR!   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR! npm ERR!                                     ^
npm ERR! npm ERR! 2 warnings and 1 error generated.
npm ERR! npm ERR! make: *** [Release/obj.target/sha3/src/addon.o] Error 1
npm ERR! npm ERR! gyp ERR! build error 
npm ERR! npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:378:20)
npm ERR! npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! npm ERR! gyp ERR! System Darwin 19.6.0
npm ERR! npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! npm ERR! gyp ERR! cwd /Users/adm1/.npm/_cacache/tmp/git-clone-74cc97c0/node_modules/sha3
npm ERR! npm ERR! gyp ERR! node -v v15.10.0
npm ERR! npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! npm ERR! gyp ERR! not ok
@yossigruner
Copy link

I have the same issue

@fernandoherlo
Copy link

+1

@bcomnes
Copy link

bcomnes commented Mar 28, 2021

I created a pull request to address this:

ProjectOpenSea/wyvern-schemas#3

The workaround is to install yarn, though this is an issue with the dependency tree.

@jarednielsen
Copy link

@bcomnes Even after installing yarn, I'm getting the same error. Is there something more to do for your workaround?

@bcomnes
Copy link

bcomnes commented Mar 30, 2021

It has to be installed and globally available on your $PATH. Thats the only other caveat I can think of.

@jarednielsen
Copy link

Yep, available globally within $PATH, even from a fresh terminal. Posting the error below if you have any additional insights:

3812 timing command:install Completed in 32688ms
3813 verbose stack Error: command failed
3813 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
3813 verbose stack     at ChildProcess.emit (node:events:376:20)
3813 verbose stack     at maybeClose (node:internal/child_process:1063:16)
3813 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:295:5)
3814 verbose pkgid sha3@1.2.3
3815 verbose cwd /Users/nieljare/.npm/_cacache/tmp/git-clone-2f85d00a
3816 verbose Darwin 19.6.0
3817 verbose argv "/usr/local/Cellar/node/15.5.1/bin/node" "/usr/local/lib/node_modules/npm/bin/npm-cli.js" "install" "--cache=/Users/nieljare/.npm/_cacache" "--prefer-offline=false" "--prefer-online=false" "--offline=false" "--no-progress" "--no-save" "--no-audit"
3818 verbose node v15.5.1
3819 verbose npm  v7.3.0
3820 error code 1
3821 error path /Users/nieljare/.npm/_cacache/tmp/git-clone-2f85d00a/node_modules/sha3
3822 error command failed
3823 error command sh -c node-gyp rebuild
3824 error CXX(target) Release/obj.target/sha3/src/addon.o
3825 error gyp info it worked if it ends with ok
3825 error gyp info using node-gyp@7.1.2
3825 error gyp info using node@15.5.1 | darwin | x64
3825 error gyp info find Python using Python version 3.7.9 found at "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3"
3825 error gyp info spawn /Library/Frameworks/Python.framework/Versions/3.7/bin/python3
3825 error gyp info spawn args [
3825 error gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
3825 error gyp info spawn args   'binding.gyp',
3825 error gyp info spawn args   '-f',
3825 error gyp info spawn args   'make',
3825 error gyp info spawn args   '-I',
3825 error gyp info spawn args   '/Users/nieljare/.npm/_cacache/tmp/git-clone-2f85d00a/node_modules/sha3/build/config.gypi',
3825 error gyp info spawn args   '-I',
3825 error gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
3825 error gyp info spawn args   '-I',
3825 error gyp info spawn args   '/Users/nieljare/Library/Caches/node-gyp/15.5.1/include/node/common.gypi',
3825 error gyp info spawn args   '-Dlibrary=shared_library',
3825 error gyp info spawn args   '-Dvisibility=default',
3825 error gyp info spawn args   '-Dnode_root_dir=/Users/nieljare/Library/Caches/node-gyp/15.5.1',
3825 error gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
3825 error gyp info spawn args   '-Dnode_lib_file=/Users/nieljare/Library/Caches/node-gyp/15.5.1/<(target_arch)/node.lib',
3825 error gyp info spawn args   '-Dmodule_root_dir=/Users/nieljare/.npm/_cacache/tmp/git-clone-2f85d00a/node_modules/sha3',
3825 error gyp info spawn args   '-Dnode_engine=v8',
3825 error gyp info spawn args   '--depth=.',
3825 error gyp info spawn args   '--no-parallel',
3825 error gyp info spawn args   '--generator-output',
3825 error gyp info spawn args   'build',
3825 error gyp info spawn args   '-Goutput_dir=.'
3825 error gyp info spawn args ]
3825 error gyp info spawn make
3825 error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
3825 error In file included from ../src/addon.cpp:4:
3825 error In file included from ../node_modules/nan/nan.h:2818:
3825 error ../node_modules/nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
3825 error       data   = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
3825 error                                           ^
3825 error /Users/nieljare/Library/Caches/node-gyp/15.5.1/include/node/v8.h:5317:3: note: 'GetContents' has been explicitly marked deprecated here
3825 error   V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
3825 error   ^
3825 error /Users/nieljare/Library/Caches/node-gyp/15.5.1/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
3825 error # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
3825 error                                       ^
3825 error In file included from ../src/addon.cpp:9:
3825 error In file included from ../src/KeccakNISTInterface.h:17:
3825 error ../src/KeccakSponge.h:23:9: warning: 'ALIGN' macro redefined [-Wmacro-redefined]
3825 error #define ALIGN __attribute__ ((aligned(32)))
3825 error         ^
3825 error /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/param.h:83:9: note: previous definition is here
3825 error #define ALIGN(p)        __DARWIN_ALIGN(p)
3825 error         ^
3825 error ../src/addon.cpp:83:11: error: no matching member function for call to 'Set'
3825 error                 target->Set(className, f);
3825 error                 ~~~~~~~~^~~
3825 error /Users/nieljare/Library/Caches/node-gyp/15.5.1/include/node/v8.h:3716:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
3825 error   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
3825 error                                     ^
3825 error /Users/nieljare/Library/Caches/node-gyp/15.5.1/include/node/v8.h:3719:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
3825 error   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
3825 error                                     ^
3825 error 2 warnings and 1 error generated.
3825 error make: *** [Release/obj.target/sha3/src/addon.o] Error 1
3825 error gyp ERR! build error
3825 error gyp ERR! stack Error: `make` failed with exit code: 2
3825 error gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
3825 error gyp ERR! stack     at ChildProcess.emit (node:events:376:20)
3825 error gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:284:12)
3825 error gyp ERR! System Darwin 19.6.0
3825 error gyp ERR! command "/usr/local/Cellar/node/15.5.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
3825 error gyp ERR! cwd /Users/nieljare/.npm/_cacache/tmp/git-clone-2f85d00a/node_modules/sha3
3825 error gyp ERR! node -v v15.5.1
3825 error gyp ERR! node-gyp -v v7.1.2
3825 error gyp ERR! not ok
3826 verbose exit 1

@bcomnes
Copy link

bcomnes commented Mar 30, 2021

Oh you are right. that is a different issue.

You are missing a build tool for building a native addon for the package sha3. But sha3 ships a pure JS version now in 2.0. Also it doesnt appear opensea (at least opensea-js@1.1.11) is even relying on sha3 anymore.

What does npm ls sha3 show in your project?

@jarednielsen
Copy link

At first it was (empty), but I ran npm install sha3 and now I have version 2.1.4, but still getting the same error.

@bcomnes
Copy link

bcomnes commented Mar 30, 2021

Strange. The path that made it look like that package was the issue was this

'/Users/nieljare/.npm/_cacache/tmp/git-clone-2f85d00a/node_modules/sha3/build/config.gypi

Looks like its using git cloned dependencies so maybe try clearing your npm cache.

@bcomnes
Copy link

bcomnes commented Mar 30, 2021

(Another issue with this package seems to be reliance on non-immutible packages due to its reliance on floating git dependencies... not a good practice if you want reliability).

@jarednielsen
Copy link

I ran this:

npm uninstall sha3
npm uninstall node-gyp
npm uninstall opensea-js
npm cache clean --force
npm install sha3
sudo npm explore npm -g -- npm install node-gyp@latest
npm install --save opensea-js

Still the same error. I agree with you that not pinning Git dependencies is an issue.

@johangace
Copy link

same issue here

@MetarDev
Copy link

MetarDev commented Mar 31, 2021

@jamboj While it's not ideal, according to the .nvmrc you probably need to use node ~10 (https://github.com/ProjectOpenSea/opensea-js/blob/master/.nvmrc) and not 15.

You can try running nvm use (need to install the version from .nvmrc first using nvm install v10.19.0 and ofc setup nvm if you don't have it: https://github.com/nvm-sh/nvm) in root of the project and then try to install to see if it helps

@bcomnes
Copy link

bcomnes commented Mar 31, 2021

I'm running 15 and it works. I'm not sure which build tools I have though. Running an older version might help though if you are having issues.

I'm curious where this native version of sha3 is originating though because I'm not seeing it, and it looks like its coming out of a git cloned dependency.

@jamboj
Copy link
Author

jamboj commented Apr 1, 2021

unfortunately I can't fallback to node 10 as I have another dependency that requires node 14+

@jeremyjs
Copy link

I ran into the same issue and the only thing that worked for me was to use yarn instead of npm.

I did not need to install sha3 and it worked using node v14.16.1 as long as I used yarn.

@jarednielsen
Copy link

I ran into the same issue and the only thing that worked for me was to use yarn instead of npm.

I did not need to install sha3 and it worked using node v14.16.1 as long as I used yarn.

What command did you use to install with yarn?

@ElvisWong
Copy link

Are you using node v16+?? I got the same issue using node v16. It works after changed back to v14 LTS

@snaptopixel
Copy link

Was anyone able to get this working? Having the same issues

@jeremyjs
Copy link

I ran into the same issue and the only thing that worked for me was to use yarn instead of npm.
I did not need to install sha3 and it worked using node v14.16.1 as long as I used yarn.

What command did you use to install with yarn?

First, I set the node version to a v14 version; for instance, v14.17.1 worked for me.

Then, I just ran yarn install and it worked.

@mattbonnell
Copy link

Works using node v15 for me, doesn't work with v16.

@cryptobrokering
Copy link

cryptobrokering commented Aug 23, 2021

I ran into the same issue and the only thing that worked for me was to use yarn instead of npm.
I did not need to install sha3 and it worked using node v14.16.1 as long as I used yarn.

What command did you use to install with yarn?

First, I set the node version to a v14 version; for instance, v14.17.1 worked for me.

Then, I just ran yarn install and it worked.

This is what it worked for me as well, just using yarn instead of npm and it worked on Node v16.6.2

@subimage
Copy link

subimage commented Sep 9, 2021

Confirming node v14 worked with NVM. Thank you!

@Diddi81Ma
Copy link

👍

@djob
Copy link

djob commented Feb 8, 2022

Issue is still present on node v16 though. Any chance of upgrading sha3 lib to solve the issue?

@esteban-OpenSea
Copy link

esteban-OpenSea commented Mar 21, 2022

After further research, it seems like the issue can be fixed by using yarn instead of npm and downgrading to node v14. Looking into fixing this with v16.

@0xfoobar
Copy link

The latest node LTS version is 16, not 14. Are you going to fix this? Should not be closed, since it hasn't been fixed.

@esteban-OpenSea esteban-OpenSea added the investigating OpenSea team is looking into this label Mar 21, 2022
@esteban-OpenSea
Copy link

Sorry, didn't mean to close. We are investigating this, but a workaround at the moment is using v14. I will comment on here once I have any updates.

@kenneyLee
Copy link

Using yarn can solve this problem

npm install -g yarn
yarn add opensea-js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating OpenSea team is looking into this
Projects
None yet
Development

No branches or pull requests