Cannot resolve module 'babel-runtime/*'
See original GitHub issueThis is probably more of a question than a bug report.
Recently, out of nowhere, I started having issues with missing babel-runtime
:
- Cannot resolve module ‘babel-runtime/helpers/extends’
- Cannot resolve module ‘babel-runtime/regenerator’
So I checked the last commit (which was a while ago) and it passed all commit checks:
Now, if I do clean setup, clone the repo and try to build it, it fails. The only thing that might have changed during this time are dependencies (semantic updates).
Adding babel-runtime
to my dependencies fixes this issue but I’m not sure if this is the right way to go about it?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Unable to resolve module `@babel/runtime/helpers ...
The issue for me was that @babel/runtime was installed as a dev-dependency instead of just a normal (non-dev) dependency.
Read more >Unable to resolve module `@babel/runtime/helpers ... - GitHub
js`: @babel/runtime/helpers/interopRequireDefault could not be found within the project. If you are sure the module exists, try these steps: 1.
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 >@babel/runtime - npm
Start using @babel/runtime in your project by running `npm i @babel/runtime`. There are 29110 other projects in the npm registry using ...
Read more >Cannot find module '@babel/runtime/helpers/defineProperty ...
https://sentry.gitlab.net/gitlab/gitter-backend-staging/issues/1061173/ Error: Cannot find module '@babel/runtime/helpers/defineProperty' ...
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
This is fixed in
semantic-ui-react@0.64.8
.Sometimes it’s healthier not to know.