-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[0.46] ReferenceError: Unknown plugin "transform-runtime" #14843
Comments
I have the exact same issue when running run-android, while run-ios is working fine. The problem occurs on newly generated projects, my existing projects run fine. |
+1 |
Same, run-ios |
+1 |
1 similar comment
+1 |
I also have the same issue.
|
Doing this :
solves the issue temporarily |
same issue here. And @JavierM84 's solution works for me. |
Same here! |
+1 |
Worked for me too! |
@Nismit worked to mee |
+1 |
Same. Reproduced on 0.46.0, was on 0.45.1 without issue. On MacOS, running
Tried removing .babelrc and
|
Closing the terminated process and booting up the packager via |
@JavierM84 's solution works! |
+1 |
Manual But the usual and complete |
This is happening on an existing project I just upgraded to 0.46. I got it working by deleting |
@fungilation it works! |
+1 |
1 similar comment
+1 |
Same issue, + 1. |
I change "babel-preset-react-native" back to version "2.0.0" and everything is working. |
+1 |
I got this problem too.
|
Can someone who has working version of react native 0.46 project paste a package.json file? |
+1 |
my working package for react native 0.46.0 |
Duplicate of #14530 |
@tomislavHonig @grabbou my package.json:
.babelrc:
|
@JavierM84 thanks it works for me on RN 0.46 |
No need to delete Babel config - it's important part of the app. Restarting the Terminal and calling the |
I managed to solve the issue temporarily without removing
#14530 has more details on this |
No need for manual install or deletes. With yarn, all you need is |
Is this a bug report?
Yes
Have you read the Bugs section of the Contributing to React Native Guide?
Yes
Environment
react-native -v
: react-native-cli: 2.0.1 react-native: 0.46.0node -v
: v7.6.0npm -v
: 5.0.3yarn --version
(if you use Yarn): 0.24.6Then, specify:
Steps to Reproduce
(Write your steps here:)
react-native init
yarn
react-native run-ios
Expected Behavior
Open iOS simulator with the hello world app
Actual Behavior
Packager fails
Reproducible Demo
init a new project
The text was updated successfully, but these errors were encountered: