Getting 'opencollective-postinstall' is not recognized as an internal or external command while installing 'react-native-elements'
See original GitHub issuereact-native-elements@1.0.0 postinstall F:....\node_modules\react-native-elements opencollective-postinstall
‘opencollective-postinstall’ is not recognized as an internal or external command, operable program or batch file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-native-elements@1.0.0 postinstall: opencollective-postinstall
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-native-elements@1.0.0 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! C:.…\npm-cache_logs\2019-02-08T10_07_06_547Z-debug.log
Issue Analytics
- State:
- Created 5 years ago
- Comments:12

Top Related StackOverflow Question
In my case I somehow need to install it globally. Works.
npm i -g opencollective-postinstallThe solution is as trivial as it sounds.
npm install --save opencollective-postinstall