react-native link react-native-oauth fails on Windows
See original GitHub issueIt 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
Issue Analytics
- State:
- Created 7 years ago
- Comments:6
Top Results From Across the Web
React Native, unable to get access token - Stack Overflow
React Native, unable to get access token ... I'm using react-native-app-auth to get access token from azure ad b2c but I'm facing issues...
Read more >Addressing common errors in React Native - LogRocket Blog
Explore common React Native errors such as "command not found" and learn about their causes and potential solutions.
Read more >Troubleshooting - React Native
These are some common issues you may run into while setting up React Native. If you encounter something that is not listed here,...
Read more >Stuck on the window saying "Are you trying to sign in to ...
Do you get any error in the console when you click "Continue"? Make sure that you've registered the application properly and included all...
Read more >react-native-video - npm
Linking is not required in React Native 0.60 and above. If your project is using React Native < 0.60, run react-native link react-native-video ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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.