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.

Module not found: Can't resolve '@babel/runtime/core-js/json/stringify'

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

10reactions
samlecuyercommented, Aug 8, 2018

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

"@babel/runtime": "<=7.0.0-beta.55",

v7.0.0-beta.56

5reactions
jektvikcommented, Aug 8, 2018

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.

Read more comments on GitHub >

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

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