react-native-examples icon indicating copy to clipboard operation
react-native-examples copied to clipboard

[bug]: Not working with node 18 / 20

Open niklasp opened this issue 1 year ago • 1 comments

Description

I tried and only worked with node 16

Issue Environment

  • [ ] dapps/W3MEthers
  • [ ] dapps/W3MEthers5
  • [ ] dapps/W3MWagmi
  • [ ] wallets/rn_cli_wallet
  • [ ] wallets/rn_cli_wallet_068_5
  • [X] In my own code

Output of npx react-native info

System: OS: macOS 13.3.1 CPU: (8) arm64 Apple M1 Pro Memory: 84.11 MB / 32.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 16.20.0 path: ~/.nvm/versions/node/v16.20.0/bin/node Yarn: Not Found npm: version: 8.19.4 path: ~/.nvm/versions/node/v16.20.0/bin/npm Watchman: version: 2024.07.15.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: Not Found SDKs: iOS SDK: Not Found Android SDK: Not Found IDEs: Android Studio: 2024.1 AI-241.18034.62.2411.12071903 Xcode: version: /undefined path: /usr/bin/xcodebuild Languages: Java: version: 17.0.12 path: /usr/bin/javac Ruby: version: 2.6.10 path: /usr/bin/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.72.4 wanted: 0.72.4 react-native-macos: Not Found npmGlobalPackages: "react-native": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: true newArchEnabled: Not found

Steps to reproduce

go to any dapp and npm i

Snack, code example, screenshot, or link to a repository

not applicable

niklasp avatar Jul 31 '24 11:07 niklasp

hey @niklasp 👋 can you provide more info? I use node v18 daily and it works.

ignaciosantise avatar Aug 15 '24 13:08 ignaciosantise