-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Breaks build using latest Babel #202
Comments
Are you sure? babel runtime has fixed version and should be loaded without problems. |
Yeah I'm sure this is happening. It could be version mismatching, but it happens if you do a Seems to be a problem with babel/runtime @TrySound I'm still trying to track down exactly the fix, but this thread seems to be having the same problem: jquense/yup#216 |
the latest is published with a pinned "dependencies": {
"@babel/runtime": "7.0.0-rc.3"
}, does this still cause issues? I could of course not use transform-runtime but it would impact the bundle size negatively. But this isn't the first time i've run into babel issues since going babel 7. I was hoping the release candidates would stabilize things a little. |
This error may come from another module which doesn't pin babel runtime version. |
I had a similar issue after upgrading my dependencies today. 2 out 3 installed packages that depend on
The one from It might also be a module resolution issue because Installing The only workaround I could find so far is to remove the older version of This ended up being more of a brain dump, it may help others that are stuck with the same issue! |
@dariocravero thanks for figuring this out, you think it would make sense to forward this to babel, or just wait it out and hope for the best ... |
To be honest, I don't think it's their issue. It sounds more like a bundler's module resolution problem instead. |
I'm sure it's old news to you guys, but looks like babel 7 officially was released today so hopefully this is all just a transitional problem. |
Will submit pr today |
the latest release is actually on b7 already, i have also unpinned babel-transform |
@drcmda - I went to update my project tonight for the fix and notice the guy who programmed it is using v4.2.1. I tried to update to v5.X and everything just exploded. Is there documentation somewhere for the breaking changes? Otherwise I seem to get the babel/loader error every time I |
@framerate the api is mostly consistent, there were a few minor changes regarding, and the addition of keyframes (which changed drastically in 5 as it was only an experimental feature back then). Is it a babel issue or can you run the app and it crashes later on? If you want post a snippet or screenshot of a spring or transition and i can tell you immediately if there's something with it. |
Anyone still suffering from babel issues? I've updated our company projects to babel 7 as well now, many of them use spring, haven't run into any troubles so far. |
Going to close this for now, if anything comes up i can re-open, though now that babel is finally stable, deploying with babel-runtime should be ok now. |
I'm still experiencing this issue.
Not sure what exactly is the problem, but maybe an issue caused by create-react-app using another babel version? |
I did this:
and in src/App.js import React, { Component } from 'react'
import { Spring } from 'react-spring'
class App extends Component {
render() {
return (
<Spring from={{ opacity: 0 }} to={{ opacity: 1 }}>
{props => <div style={props}>test</div>}
</Spring>
)
}
}
export default App It seems to work fine. |
I'm experiencing this issue with the latest version of |
there are a couple of open threads about this. you need to either pick the commonjs export, because node/next doesn't understand the import statement, or teach it to handle esm. |
* feat(waffle): init waffle package * feat(waffle): init html and canvas components * feat(waffle): add support for interations on Waffle component * feat(waffle): add animation support to Waffle & WaffleCanvas * feat(waffle): add support for custom tooltip on all components * feat(waffle): add opacity support for WaffleCanvas * feat(waffle): add support for custom cell component for Waffle & WaffleHtml * feat(waffle): add ability to customize fill direction * feat(waffle): add waffle stories * feat(waffle): add TypeScript definitions * feat(waffle): add tests * feat(waffle): add icon for waffle package * feat(waffle): fix tests
The text was updated successfully, but these errors were encountered: