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

Latest version of thirdweb SDK crashing npx thirdweb create contract #662

Open
simon-tanna opened this issue Aug 30, 2024 · 1 comment
Open

Comments

@simon-tanna
Copy link

simon-tanna commented Aug 30, 2024

When running npx thirdweb create contract the following error is displayed.
Screenshot 2024-08-30 at 3 05 53 pm

# npm resolution error report

While resolving: undefined@undefined
Found: [email protected]
node_modules/thirdweb
  thirdweb@"5.48.3" from the root project

Could not resolve dependency:
thirdweb@"5.48.3" from the root project

Conflicting peer dependency: [email protected]
node_modules/react
  peer react@"18.2.0" from [email protected]
  node_modules/react-native
    peerOptional react-native@"*" from [email protected]
    node_modules/thirdweb
      thirdweb@"5.48.3" from the root project
    peer react-native@"*" from @coinbase/wallet-mobile-sdk@1.0.13
    node_modules/@coinbase/wallet-mobile-sdk
      peerOptional @coinbase/wallet-mobile-sdk@"^1" from [email protected]
      node_modules/thirdweb
        thirdweb@"5.48.3" from the root project
    peer react-native@"^0.0.0-0 || >=0.60 <1.0" from @react-native-async-storage/async-storage@1.24.0
    node_modules/@react-native-async-storage/async-storage
      peerOptional @react-native-async-storage/async-storage@"^1" from [email protected]
      node_modules/thirdweb
        thirdweb@"5.48.3" from the root project
    peer react-native@"^0.61.5 || ^0.62.3 || ^0.63.2 || ^0.64.2 || ^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0" from @react-native-clipboard/clipboard@1.14.1
    node_modules/@react-native-clipboard/clipboard
      peerOptional @react-native-clipboard/clipboard@"*" from [email protected]
      node_modules/thirdweb
        thirdweb@"5.48.3" from the root project
    peer react-native@"^0.73.0" from [email protected]
    node_modules/react-native-windows
      peer react-native-windows@"^0.61.0 || ^0.62.0 || ^0.63.0 || ^0.64.0 || ^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0" from @react-native-clipboard/clipboard@1.14.1
      node_modules/@react-native-clipboard/clipboard
        peerOptional @react-native-clipboard/clipboard@"*" from [email protected]
        node_modules/thirdweb
          thirdweb@"5.48.3" from the root project
    peer react-native@"*" from [email protected]
    node_modules/react-native-aes-gcm-crypto
      peerOptional react-native-aes-gcm-crypto@"^0.2" from [email protected]
      node_modules/thirdweb
        thirdweb@"5.48.3" from the root project
    peer react-native@"*" from [email protected]
    node_modules/react-native-quick-crypto
      peerOptional react-native-quick-crypto@">=0.7.0-rc.6 || >=0.7" from [email protected]
      node_modules/thirdweb
        thirdweb@"5.48.3" from the root project
    peer react-native@"*" from [email protected]
    node_modules/react-native-svg
      peerOptional react-native-svg@"^15" from [email protected]
      node_modules/thirdweb
        thirdweb@"5.48.3" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

This issue wasn't present when using [email protected]

@Metanopoly
Copy link

Same also the dashboard and extension not working anymore if you use custom contract

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

2 participants