Module not found: Can't resolve '@babel/runtime/core-js/json/stringify'
See original GitHub issueI’m a newbie. I’ve installed informed as per the docs, but am getting the following error when I try to yarn start
.
Failed to compile.
./node_modules/informed/dist/index.js
Module not found: Can't resolve '@babel/runtime/core-js/json/stringify' in '/home/chris/code/elixir/blog/blog/node_modules/informed/dist'
What am I doing wrong?
PS I have done npm install --save babel-runtime
in my project, although I don’t see why this is necessary.
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Module not found: Can't resolve 'babel-runtime/core-js/json ...
when running "npm run watch" in Laravel 5.8 I got this error : (version npm: 6.8.0, node 11.3, webpack: 4.29.6) I think it's...
Read more >Cannot find module 'babel-runtime/core-js/json/stringify ...
Hello? anybody resolved this brunch related problem? My project is already too far to rewrite using webpack... anybody??? :( – Bromo Programmer.
Read more >Module not found: Can't resolve @babel/runtime/helpers
If the error is not resolved, try to delete your node_modules and package-lock.json (not package.json ) files, re-run npm install and restart your...
Read more >brunch/brunch - Gitter
Uncaught Error : Cannot find module 'babel-runtime/core-js/json/stringify' from 'components/signin.vue'. anyone got this issue before. es2015 & babel.
Read more >How to use the @babel/runtime-corejs3/core-js/json/stringify ...
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
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 Free
Top 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
Looks like in
@babel/runtime@7.0.0-beta.56
they split the runtime into 2 packages. This package is built with a pre-56 version but will allow a post-55 version to be installed.Adding the following to your package.json should fix this
v7.0.0-beta.56
Adding
"@babel/runtime": "<=7.0.0-beta.55",
to you devDependencies in package.json did work as per @samlecuyer . Remember to run ‘npm i’ thereafter.