react-native-linear-gradient: Error: Expected [\n\r] but end of input found.
rnpm-install info Linking react-native-linear-gradient android dependency
rnpm-install info Android module react-native-linear-gradient has been successfully linked
rnpm-install ERR! It seems something went wrong while linking. Error: Expected [\n\r] but end of input found.
Please file an issue here: https://github.com/facebook/react-native/issues
I get this error after doing react-native link react-native-linear-gradient
package:
"react": "15.4.1",
"react-native": "^0.39.2"
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18
I solved it by adding a new line to end of
ios/[Project].xcodeproj/project.pbxprojvery nice, i solved this stupid error just one line 😄
@master-atul, you solved my problem for a completely different library. Thank you.
I got the same error when I ran
npx react-native linkfor declaring the font assets in the react-native.config.js file.But then @a7ul 's solution worked for me 😆 😆
I still have this problem, I try to react-native link and my react-native is 0.43