-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed at the react-native-router-flux@4.0.0-beta.7 postinstall script 'opencollective postinstall'. #2008
Comments
beta v6 works - npm i react-native-router-flux@4.0.0-beta.6 --save |
@xdamman Could you look at it? |
@AlmogRnD Please try yarn |
@aksonov thanks, Yarn works |
Mac, npm 4.2.0 |
and actually all the answers to my questions where in the log above ¯_(ツ)_/¯ Still digging into this. |
works for me with node v6.95 and npm v.3.10.10 🤔 |
So basically, this means that somehow it didn't link |
@xdamman Could we just run ./node_modules/.bin/opencollective instead to avoid that? |
Does it work for you locally when you change the postinstall script to that command? (I couldn't reproduce the issue so cannot test) |
Good to know that it solved the issue. That's weird that somehow npm is not considering ./node_modules/.bin as a source of executable files in your setup (but it does in mine). Curious if others have the same issue. Thanks for spending the time to figure this out 👍 |
Should be fixed with v4 beta.8 |
Try latest beta
… On 30 Jul 2018, at 13:11, OrangeFlavoredColdCoffee ***@***.***> wrote:
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
~Two days ago that was working fine. |
Works fine with node_js:
but not with node 8.12v |
Thank you for reporting - but beta versions are not supported. You can use |
Can't install the package
~/Full-Time-Employment/Construction-Cloud/RnD/CCMobileApp(branch:development*) » npm i react-native-router-flux --save Almog@Almogs-MacBook-Pro
sh: opencollective: command not found
npm WARN enoent ENOENT: no such file or directory, open '/Users/Almog/Full-Time-Employment/Construction-Cloud/RnD/CCMobileApp/node_modules/react-native-drawer-layout/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/Almog/Full-Time-Employment/Construction-Cloud/RnD/CCMobileApp/node_modules/react-native-drawer-layout-polyfill/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/Almog/Full-Time-Employment/Construction-Cloud/RnD/CCMobileApp/node_modules/react-native-tab-view/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/Almog/Full-Time-Employment/Construction-Cloud/RnD/CCMobileApp/node_modules/react-navigation/package.json'
npm WARN react-native-elements@0.13.0 requires a peer of react-native-vector-icons@~4.1.1 but none was installed.
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/Almog/.nvm/versions/node/v6.9.5/bin/node" "/Users/Almog/.nvm/versions/node/v6.9.5/bin/npm" "i" "react-native-router-flux" "--save"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! react-native-router-flux@4.0.0-beta.7 postinstall:
opencollective postinstall
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the react-native-router-flux@4.0.0-beta.7 postinstall script 'opencollective postinstall'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the react-native-router-flux package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! opencollective postinstall
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs react-native-router-flux
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls react-native-router-flux
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/Almog/Full-Time-Employment/Construction-Cloud/RnD/CCMobileApp/npm-debug.log
The text was updated successfully, but these errors were encountered: