'react-native link' unrecognized
See original GitHub issueStarted with a new project:
react-native init appName
cd appName
Verified that react-native link
works. Successful
Added react-native-ble-plx:
npm install --save react-native-ble-plx
Tried react-native link
, receive error:
“Command link
unrecognized. Make sure that you have run npm install
and that you are inside a react-native project.”
“dependencies”: { “react”: “16.0.0-alpha.12”, “react-native”: “0.45.1”, “react-native-ble-plx”: “^0.6.0” }
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:33 (3 by maintainers)
Top Results From Across the Web
Unrecognized command "link" when linking fonts in react native
Trying to link custom fonts in a react native project, when using npx react-native link I get an error saying Unrecognized command "link"....
Read more >[Solved] Unrecognized Command "link" When Linking Fonts In ...
Unrecognized Command " link " When Linking Fonts In React Native. Solve react - native -vector-icons Is Not Working ? Let's Solve. React...
Read more >error Unrecognized command "link"., install google fonts - Reddit
i can't install any google font, how i can fix that?
Read more >Fix react-native link issue - Medium
Command `link` unrecognized. Make sure that you have run `npm install` and that you are inside a react-native project. Google to the rescue!...
Read more >react-native link command not found - You.com
To solve this problem, the solution is simple just install react-native-cli using the following command. npm install -g react-native-cli. The command will ...
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
I have the same issue. I was able to get around it by deleting
node_modules
and typingyarn
.Fell victim to this. My mistake was that I ran
react-native link
inside the wrong folder. I was in theandroid/
folder. Forreact-native link
to work you need to be located at the root of your React Native project.This is because the command
react-native
only has the commandinit
available globally. All other commands, for examplelink
, rely on the React Native version you have installed innode_modules
.