-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Errors from .babelrc after updating to Meteor 1.6.1-beta #9469
Comments
Meteor 1.6.1 has switched from Babel 6 to Babel 7, so it may be time to revisit the contents of your |
Oh ! I can't find any solution...
react-require plugin and babel-root-slash-import plugin don't have new versions... EDIT: I install @babel/runtime, @babel/preset-env,.... and in my babelrc :
When I launch meteor I have :
But I have @babel/runtime...
|
That's right, if you didn't have a From looking at your reproduction, I believe you can remove the If you see an error when you run the app saying you need to install the Thanks for trying the 1.6.1 beta. Hope this helps! |
Hi @benjamn, So with this babelrc my app has launched.
But I have an other issue and I don't know if it's related with the 1.6.1-beta. On my first load with this babelrc, I have this error :
So I remove the package It's an error with meteor ? mongol package ? Babel ? Thanks :) |
With native ECMAScript classes, it's forbidden to invoke a constructor like The whole idea of Babel is to let you start writing code that will one day be natively supported, with a smooth transition from compiled code to native support. For the most part, that promise really does hold, but there are a few differences that crop up from time to time. Rather than assigning blame to Babel, I would just take this as an opportunity to appreciate the quality of the illusion that Babel is able to provide in almost all cases (with just a few exceptions, like this one). |
Thanks for your reply @benjamn 👍 But one question. This new release (1.6.1) will break many packages and plugins, won't it ? |
Custom Babel plugins in This is not a Meteor problem as much as it is a reflection of the complexity of configuring Babel plugins. I don't envy the Babel team's position: they want it to seem easy to create high-quality, robust plugins, but there are many, many opportunities to get it wrong. |
For information, https:/Themandunord/Mantra-Kickstarter-2/ my boilerplate works again :) Other problems are not related to Meteor so I close this issue 👍 I have many problems to setup a storybook configuration and mocha configuration with Babel 7... Thanks for all your informations @benjamn 👍 |
@Themandunord You're very welcome! I'm going to reopen this temporarily, and put it in the 1.6.1 milestone, just because I think there are a few things we can do to make this update easier. For example, I think we may be able to prevent the original |
Helps with #9469, since any extraneous "env" property will be removed from the copied object.
Helps with #9469, since any extraneous "env" property will be removed from the copied object.
Hi guys,
Since I updated my app to 1.6.1-beta.x I can't launch my app and test the PR #9263.
I test with some beta of the 1.6.1 beta always the same issue.
With the latest version (1.6.1-beta.18) I have this error :
You can reproduct this issue with my kickstarter project : https:/Themandunord/Mantra-Kickstarter-2.
Run meteor to see the error.
Thanks !
The text was updated successfully, but these errors were encountered: