npm = 6.10.2, react-native=0.59.5, react=16.8.3, Xcode: 10.3, no expo
native-base version must be updated to 2.14.1
unable to install [email protected]
migrate the native-base from 2.12.1 to 2.14.1
I am using react-native 0.59 and native-base 2.12.1, I want to update the native-base to 2.13.4 ( or latest) but when I tried to update with
$npm install [email protected]
I get the error
```myusers-mac-mini:app myuser$ npm install [email protected]
[email protected] postinstall /Users/myuser/Documents/Workspace/ReactNative/app/app/node_modules/native-base
node addEjectScript.js && opencollective-postinstall
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ NativeBase 2.0 has been succesfully installed! โ
โ Run node node_modules/native-base/ejectTheme.js to copy over theme config and variables. โ
โ Head over to the docs for detailed information on how to make changes to the theme. โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
sh: opencollective-postinstall: command not found
npm WARN [email protected] requires a peer of react-art@>= 16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-dom@>= 16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native-web@>= 0.7 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint@>=3.14.1 but none is installed. You must install peer dependencies yourself.
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] postinstall: node addEjectScript.js && opencollective-postinstall
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/myuser/.npm/_logs/2019-07-31T04_36_44_052Z-debug.log````
Solved with deleting node_modules/ and $npm install
Its not working with this solution ..... deleted whole project and cloned it again but getting same error
Most helpful comment
Solved with deleting node_modules/ and $npm install