Unable to resolve "@babel/runtime/helpers/builtin/interopRequireDefault"
See original GitHub issueHi guys, today I update yup to 0.25.0 and im getting the following error:
Unable to resolve "@babel/runtime/helpers/builtin/interopRequireDefault" from "node_modules/yup/lib/index.js"
Failed building JavaScript bundle.
Rolling back to v0.24.1 fix the issue, any advice?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:31
- Comments:42 (7 by maintainers)
Top Results From Across the Web
Unable to resolve module `@babel/runtime/helpers ...
Solution: I had to remove the node_modules and npm -i . This time when I checked the node_modules the interopRequireDefault.js ...
Read more >Module not found: Can't resolve @babel/runtime/helpers
To solve the error "Module not found: Error: Can't resolve '@babel/runtime/helpers'", make sure to install the @babel/runtime package by opening your terminal ...
Read more >How to solve the “Cannot find the interopRequireDefault ...
A clean Meteor installation generated with the meteor create myapp command suddenly comes with an error today (4 august 2018.)
Read more >Error: Cannot find module '@babel/runtime/helpers/builtin ...
25, I got this error message: Unable to resolve some modules: "@babel/runtime/helpers/builtin/interopRequireDefault" in /home/rj/Projects/ ...
Read more >Babel Js File Can't Resolve "@Babel/Runtime ... - ADocLib
meteor Error: Cannot find module '@babel/runtime/helpers/builtin/interopRequireDefault'. Solution: This has been traced in the forums as an incompatibility.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Quick fix:
npm add @babel/runtime
Everyone probably already has @babel/runtime as dependencies. Unfortunately Babel has removed the builtin helpers since v7.0.0-beta.56 (3 days ago). Since npm doesn’t automatically update most people won’t have this problem.
Try installing v7.0.0-beta.55, this fixes your problem: