Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

react-native eject not working for react-native 0.60.0

Tags:

react-native

Is react-native eject is not working anymore ? is it completely removed from the react-native? I am using react-native version 0.60.0.

I can't even find it in the react-native help.

Please check the image for more reference:

enter image description here

like image 204
Santosh Kumar Avatar asked Jul 10 '19 09:07

Santosh Kumar


3 Answers

Same here. In this moment, have a brand new backup of your project and then copy the android and ios folder, is the better way to regenerate those folders... unfortunately

UPDATE

react-native upgrade --legacy true
like image 198
C-lio Garcia Avatar answered Nov 15 '22 23:11

C-lio Garcia


Firstly you would need to install react-native-eject then you can run react-native eject. Simply do these:

npm i react-native-eject

or

yarn add react-native-eject

then run:

react-native eject
like image 2
AbdulBasit Avatar answered Nov 15 '22 23:11

AbdulBasit


Yes, the eject command was removed from react-native recently (March 28, 2019).

like image 1
Phantom Watson Avatar answered Nov 16 '22 00:11

Phantom Watson