Can't `yarn start` the project after `yarn upgrade` (Module not found: Can't resolve '@babel/runtime/helpers/builtin/extends' in '/Users/alberto.iglesias/Coding/iteisa/projects/cam/node_modules/yup/lib')
See original GitHub issueHi,
I have a project created with create-react-app that is using yup. Today I have to run a yarn upgrade
, and after that I can’t start the project. I get this error:
Module not found: Can’t resolve ‘@babel/runtime/helpers/builtin/extends’ in ‘/Users/alberto.iglesias/Coding/iteisa/projects/cam/node_modules/yup/lib’
Watching other issues, I’ve seen the babel beta.56 directory problem, so I’ve finally forced to add the babel beta.55 version, and is starting again. I think is valid as a temporary patch, but maybe there’s other packages installed by react-scripts that depends of beta.56, so I’m not sure if it’s going to generate other problems.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:21
- Comments:13 (3 by maintainers)
Top Results From Across the Web
yarn upgrade
Upgrades packages to their latest version based on the specified range. ... When no package names are specified, all dependencies will be upgraded....
Read more >Module not found error using Yarn 2 to link React components
To fix the issue I had to add the reference to dependencies in package.json (even though I'd already run yarn link ):
Read more >Why Running `yarn upgrade` Does Not Update My `package ...
json. Today I wanted to upgrade the dependency of React of one of my projects. So I ran. yarn upgrade react.
Read more >Ran yarn upgrade and now can't recover to previous state
Now, when I run yarn build I get the error: webpack: command not found. ... any case now I can't seem to find...
Read more >Migrating our Monorepo to Yarn 2 | DoltHub Blog
We can add our packages as dependencies in one another's package.json files exactly as with any other package, but they are resolved locally...
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
If you use webpack, you can add an alias until yup is updated
This babel problem is giving me a world of pain. It’s affected a bunch of libs that I am using. I understand babel v7 is in beta, and breaking changes can be expected between versions, but it’s a pain when transitive dependencies cause your apps to fail. I’ve been trying to wrap my head around the babel v6 -> v7 movement, and why so many lib authors have moved so quickly onto depending on v7.
Can confirm that forcing an install of previous version of
@babel/runtime
sorts the problem.