Describe the bug
This install works fine:
npm install @solana/spl-token @solana/web3.js
However, upon running this installation script:
npm install @audius/fetch-nft
The following error occurs:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: audius-nft@0.1.0
npm ERR! Found: @solana/spl-token@0.3.8
npm ERR! node_modules/@solana/spl-token
npm ERR! @solana/spl-token@"^0.3.8" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @solana/spl-token@"^0.1.8" from @audius/fetch-nft@0.1.8
npm ERR! node_modules/@audius/fetch-nft
npm ERR! @audius/fetch-nft@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/USERNAME/.npm/_logs/2023-10-23T16_41_47_441Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /Users/USERNAME/.npm/_logs/2023-10-23T16_41_47_441Z-debug-0.log
To Reproduce
Run the following installation commands above.
Supporting Media
Expected behavior
The @audius/fetch-nft installs normally without any issue.
Your environment
OS: MacOS 13.4 - Ventura
Node version: V20.5.0
Npm version: 9.8.1
Browser name and version: Chrome 118.0.5993.70
Additional context:
- I had to run the following instead, but not sure if this will introduce an error later on:
npm install @solana/spl-token@^0.1.8 @solana/web3.js
Used version spl-token@^0.1.8.
Then ...
Describe the bug
This install works fine:
However, upon running this installation script:
The following error occurs:
To Reproduce
Run the following installation commands above.
Supporting Media
Expected behavior
The
@audius/fetch-nftinstalls normally without any issue.Your environment
OS: MacOS 13.4 - Ventura
Node version: V20.5.0
Npm version: 9.8.1
Browser name and version: Chrome 118.0.5993.70
Additional context:
Used version spl-token@^0.1.8.
Then ...