-
Notifications
You must be signed in to change notification settings - Fork 322
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 v0.16 causes Transform error #558
Comments
+1 Same here. Removing |
|
Better to use |
Although note we are ignoring Line 9 in 07d8902
|
so whats the work around for this? |
I'll use package.json files and publish a new build. |
@sebmck why, if i'm also including the original source in the distribution alongside the compilation output? |
Remove .babelrc haven't fix the problem |
so how to solve this problem? |
Remove .babelrc did solve this issue. |
Seems like .babelrc in npm packages cause this issue and running
|
imo this is a babel bug. Each module should be able to declare its own babel version and transformation settings, and include these with the published package. |
Removing .babelrc works for me |
Removing .babelrc works for me +1 |
Removing .babelrc doesn't works for me, what should I do to solve the problem? |
If the .babelrc problem is persisting even though you create a new project run the following command provided by @JonathanZWhite
|
I had the same error after creating the default project using Opening up the project in Visual Studio Code and renaming .babelrc fixed the problem so ignoring it would still work too. |
Hi
I have just updated RN to v0.16 and see this error which I assume is due to the Babel updates in RN
TransformError: /Users/…/node_modules/alt/lib/index.js: [BABEL] /Users/…/node_modules/alt/lib/index.js: Unknown option: /Users/…/node_modules/alt/.babelrc.stage
Removing .babelrc seems to fix the problem
The text was updated successfully, but these errors were encountered: