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
Getting the error "It seems something went wrong while linking. Error: spawn UNKNOWN" when I try to link on Windows 7 using the command "react-native link react-native-firestack".
include ':react-native-firestack'
project(':react-native-firestack').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-firestack/android')
I guess it works if you just want to get it running, but note that you might need to add it again to make it work in ios as mentioned further down in that issue.
Still getting this problem after adding the lines to my settings.gradle. Has anyone been able to fix this yet? I'm getting a bunch of errors when I try to do it the manual way as well :(
Activity
mienaikoe commentedon Jan 29, 2017
Also got this error. On Windows 10.
remiroyc commentedon Feb 15, 2017
Same problem here with windows 10.
groke commentedon Mar 1, 2017
As per @mienaikoe the solution is in #270
add
To settings.gradle
Add settings.gradle info for Android install
andreasnilssondev commentedon Mar 4, 2017
For anyone still running into issues after trying @groke's suggestion
Try removing this from node_modules/react-native-firebase/package.json:
as suggested here (different package but perhaps same issue?): https://github.com/auth0/react-native-lock/issues/86#issuecomment-241513859
I guess it works if you just want to get it running, but note that you might need to add it again to make it work in ios as mentioned further down in that issue.
bramvbilsen commentedon Mar 14, 2017
Still getting this problem after adding the lines to my settings.gradle. Has anyone been able to fix this yet? I'm getting a bunch of errors when I try to do it the manual way as well :(
rahulbhankar786 commentedon Sep 19, 2018
please go to node_module/the_package_you_are_linking/package.json
and remove these lines .
it will work like a cakewalk.
"rnpm": {
"commands": {
"postlink": "node_modules/react-native-background-fetch/scripts/postlink.js",
"postunlink": "node_modules/react-native-background-fetch/scripts/postunlink.js"
}
},