"react-native link" error
See original GitHub issueI tried to run react-native link after running npm install, this was working fine before now I got this error
ERR! It seems something went wrong while linking. Error: Expected "/* Begin ", "/* End ", "\"" or [A-Za-z0-9_.] but "<" found. Please file an issue here: https://github.com/facebook/react-native/issues
What causes this error?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:16
- Comments:35 (5 by maintainers)
Top Results From Across the Web
Getting error while doing react-native link - Stack Overflow
2- Try npm i to fix the problems with dependencies, then command react-native run-android to make sure your dependencies and "node_modules" ...
Read more >Addressing common errors in React Native - LogRocket Blog
This error occurs when you attempt to use the manual linking feature (i.e. react-native link and react-native link unlink commands), which have ...
Read more >Troubleshooting - React Native
If you encounter an error such as npm WARN locking Error: EACCES while using the React Native CLI, try running the following:.
Read more >error Unrecognized command "link"., install google fonts - Reddit
Link has been removed from the latest versions of react native. Use react-native-asset for RN 0.69+. Install npm install -g ...
Read more >React Native SDK Troubleshooting - Visual Studio App Center
This error appears when RN core libraries aren't referenced correctly, which can be caused by different kinds of integrating or linking issues.
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 Free
Top 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
@dillonykyang I had a similar issue.
Before using the link command, change all the
HEADER_SEARCH_PATHS
that have a mono-string valueto a multi-string value:
The link command should work properly now.
Have you tried doing
react-native upgrade
beforereact-native link
? That worked for me.