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

Error upon installation of scripts #20

Open
tesla809 opened this issue Oct 23, 2023 · 0 comments
Open

Error upon installation of scripts #20

tesla809 opened this issue Oct 23, 2023 · 0 comments

Comments

@tesla809
Copy link

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: [email protected]
npm ERR! Found: @solana/[email protected]
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/[email protected]
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

Screenshot 2023-10-23 at 12 42 10 PM

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 ...

@audius/fetch-nft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant