You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
react-native link react-native-oauth fails on Windows #50
It seems the addition of the prelink and postlink rnpm commands to the json.package prevent Windows users from using this tool. The shell scripts you have written are not windows env compatible and cause rnpm-install to crash. I'll see if I can write a fix for this.
rnpm-install ERR! It seems something went wrong while linking. Error: spawn UNKNOWN
Please file an issue here: https://github.com/facebook/react-native/issues
spawn UNKNOWN
Not really a solution but a work around for now... I guess. I'm not experienced enough with npm packages to figure out how to run shells from Windows CMD so this library would be more cross compatible.
Reacted by JIA LI, Renan Cardoso Soares, Dennis Plotnik and David Axelrod
manually removed this section will cause app failed to generate apk due to verify release resource step failed. I think should update this changes on repo instead of remove it manually.
Activity
Cleanshooter commentedon Jan 18, 2017
Removing the following from package.json allows linking to complete succesfuly.
https://github.com/Cleanshooter/react-native-oauth
Not really a solution but a work around for now... I guess. I'm not experienced enough with npm packages to figure out how to run shells from Windows CMD so this library would be more cross compatible.
gbenga504 commentedon Feb 18, 2017
Nice.... That worked for me also
roshkins commentedon Mar 2, 2017
I had the same issue, and the workaround worked! Could executing .sh files under Bash on Ubuntu on Windows work?
Cleanshooter commentedon Mar 10, 2017
Yeah your best best for this to work as is might be to run it in a docker container or something...
KeanuTomatoMomotaro commentedon Nov 21, 2017
@Cleanshooter i tried the solution and it linking was successful, however i was unable to build and run the application as I got the following error:
jinz11 commentedon Jan 6, 2019
manually removed this section will cause app failed to generate apk due to verify release resource step failed. I think should update this changes on repo instead of remove it manually.