ethereum-boilerplate / ethereum-react-native-boilerplate

The ultimate full-stack Ethereum React Native Dapp Boilerplate which gives you maximum flexibility and speed. Feel free to fork and contribute. Although this repo is called "Ethereum Boilerplate" it works with any EVM system! Happy BUIDL!👷‍♂️
MIT License
543 stars 285 forks source link

yarn install fails with the current yarn.lock #49

Open akivanc88 opened 2 years ago

akivanc88 commented 2 years ago
4/4]`` 🔨  Building fresh packages...
[14/22] ⠈ postinstall-postinstall
[6/22] ⠈ secp256k1
[15/22] ⠈ react-native-localhost
[4/22] ⠈ better-sqlite3
error /Users/<path redacted>/ethereum-react-native-boilerplate/node_modules/react-native-localhost: Command failed.
Exit code: 1
Command: node scripts/postinstall
Arguments: 
Directory: /Users/<path redacted>/ethereum-react-native-boilerplate/node_modules/react-native-localhost
Output:
/Users/<path redacted>/ethereum-react-native-boilerplate/node_modules/ip/lib/ip.js:385
      details.family = details.family.toLowerCase();
                                      ^
TypeError: details.family.toLowerCase is not a function

Any idea what I am doing wrong here?

Amol2496 commented 2 years ago

Hi @akivanc88 , I'm facing the same issue. Do let us know here if you found the solution. I will ping if I got it first.

dFohlen commented 2 years ago

Downgrade Node.js to 17.9.0, see https://github.com/storybookjs/storybook/issues/18010

or better use the 16.15.0 LTS

npm install -g n
sudo n 16.15.0