question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to resolve "@babel/runtime/helpers/builtin/interopRequireDefault"

See original GitHub issue

Hi 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:closed
  • Created 5 years ago
  • Reactions:31
  • Comments:42 (7 by maintainers)

github_iconTop GitHub Comments

295reactions
k7sleepercommented, May 17, 2018

Quick fix: npm add @babel/runtime

49reactions
hielkehoevecommented, Aug 6, 2018

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:

...
    "@babel/runtime": "7.0.0-beta.55",
...
}```
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found