ethereum-react-native-boilerplate
ethereum-react-native-boilerplate copied to clipboard
yarn install fails with the current yarn.lock
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?
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.
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