-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'react-native link' unrecognized #98
Comments
I did the same thing as you and
|
I have the same issue. I was able to get around it by deleting |
@inev, thank you, that fixed it for me. Tried with brand new RN app again and ran into the issue, so deleted node_modules and ran yarn...so had to sit through the building of all those framework files twice, but at least it works now. |
Thanks @inev, had the same problem, repeated the same steps, deleted node_modules folder and ran 'yarn' command and then ran 'react-native link', seemed to work then. |
same! yarn FTW~ |
Fell victim to this. My mistake was that I ran This is because the command |
I'll add note to README file. I was also confused about it. |
Make sure your folder name and package.json name are equals. I made that mistake, I accidently changed the name in the package.json |
About which folder name are you talking about @volkansahin45? |
@Cierpliwy the application folder |
I believe this happens after you add any new library merely run yarn install after adding any library and later react-native link should definitely work |
|
npm install native-base --save This sequence worked for me |
Did it work in expo un-detached project? |
@sangampandey thanks your solution worked for me |
I run the |
no one solution is running for me |
Me too, none of them works for me. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
this no solution worked for me ...! |
Me neither, it still says: bash: react-native: command not found |
@Memexp you need to install react-native globally for the command to be found in your path For others here too delete your node_modules and package-lock.json file then run |
npm install react-native-firebase work! |
Correction on what I said above (will edit as well) the globally installed package should be
|
it really worked.....remove node_modules and run Yarn....worked perfectly. thanks so much |
This should work: |
I try remove node_modules then run yarn, but does not work. I was adding dependencies directly on package.json. Now i try add each dependecies using yarn add, and work it. |
In my case I was using npx create-react-app my-app instead of npx create-react-native-app |
if you want add fonts, for react native 0.69 run |
Saved my life. |
Do we still have to configure the |
Saved my life 2222 Thanks!!!!!!! |
为什么? |
no need for react-native link now |
Started with a new project:
react-native init appName
cd appName
Verified that
react-native link
works. SuccessfulAdded 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 runnpm 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"
}
The text was updated successfully, but these errors were encountered: