contracts icon indicating copy to clipboard operation
contracts copied to clipboard

Latest version of thirdweb SDK crashing `npx thirdweb create contract`

Open simon-tanna opened this issue 5 months ago • 1 comments

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/[email protected]
    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/[email protected]
    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/[email protected]
    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/[email protected]
      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]

simon-tanna avatar Aug 30 '24 05:08 simon-tanna