-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
error: bundling failed: "TransformError [...] (While processing preset: node_modules [... \\babel-preset-react-native\\index.js")" #15545
Comments
some issue +1 @tudor2it work around: |
+1 |
@Kennytian Thank you for the solution. I have known about the workaround. The issue has appeared a few days ago and I've expected to disappear. But it is still there and it's frustrating that the react-native team didn't fix it. I'm desperate to finish a project and I'm only struggling with all kind of errors because versions of packages and compilers don't match. |
+1 npm: 5.0.1 |
@facebook-github-bot duplicate #15513 |
Duplicate of #15513 |
for yarn used following Commands yarn remove babel-preset-react-native for npm used following Commands npm uninstall babel-preset-react-native |
This works like a charm @tudor2it work around: npm install --save-dev babel-preset-react-native@2.1.0 |
workaround fixed it for me |
@Kennytian workaround fixed it thanks! |
@Kennytian workaround fixed it, thank you |
@Kennytian fixed it, thank you so much |
@ShubhamBabhulkar This fixed my issue as well. Thank you. |
@Kennytian Great Thanks it works.. 👍 |
step1 |
@Kennytian fixed it! Great Thanks it works.. 👍 |
Gettting this Error In Ios
|
Getting similar error in android
|
change to
|
npm reinstalls did not work for me. Only Yarn method yarn remove babel-preset-react-native |
I am getting |
getting the same error here: Error: Cannot find module '@babel/core' my package.json https://gist.github.com/wesleyguirra/11cdfbd8669b4783399a8a0bea29ce6a |
I love you ma~ |
give this man (@Kennytian) a medal |
一直挣扎在版本,编译不匹配的坑里,rn team要加油! |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
No
Environment
react-native -v
: react-native-cli: 2.0.1node -v
: v6.11.2npm -v
: 3.10.10yarn --version
: not usingThen, specify:
Steps to Reproduce
(Write your steps here:)
Expected Behavior
The welcome React-Native screen should appear on the emulator screen.
Actual Behavior
It throws the below error:
Reproducible Demo
It is an empty standard project as it is described in https://facebook.github.io/react-native/docs/getting-started.html > Building Projects with Native Code.
The text was updated successfully, but these errors were encountered: