Hi do you have any idea how to fix this ? It seems to crash because it cannot run $react-native link, however, if I run it in command line it works fine.
> @shoutem/[email protected] postinstall /Users/user/Bitbucket/test/node_modules/@shoutem/ui
> react-native link
Command `link` unrecognized. Did you mean to run this inside a react-native project?
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "@shoutem/ui"
npm ERR! node v4.4.3
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! @shoutem/[email protected] postinstall: `react-native link`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @shoutem/[email protected] postinstall script 'react-native link'.
npm ERR! This is most likely a problem with the @shoutem/ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! react-native link
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs @shoutem/ui
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls @shoutem/ui
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/user/Bitbucket/test/npm-debug.log
Found a fix. Install in two steps
npm install --ignore-scripts --save @shoutem/ui
react-native link
Thank you! However, we want to fix this. Could you, please, write steps to reproduce here?
Sure, super easy whenever you try to install @shoutem/ui on a repo generated by exponentjs, the error appears.
@aessig we are working with Brent Vatne from Exponent to fit @shoutem/ui for it. Thank you!
Thanks, that's super cool 馃憤 Can't wait!
Most helpful comment
Found a fix. Install in two steps