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.

Cannot find module '@babel/preset-core'

See original GitHub issue

I’m getting the error Cannot find module '@babel/preset-core' in my project. Running npm install @babel/preset-core but this error appeared: npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@babel%2fpreset-core - Not found npm ERR! 404 npm ERR! 404 '@babel/preset-core@latest' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. Have this package been published? If not then which package should i remove to resolve this error?

Thank you, Son To Minh

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
JLHwungcommented, Sep 8, 2020

@babel/core is not a preset, please remove it from your babel.config.js.

0reactions
tmseancommented, Sep 9, 2020

@babel/core is not a preset, please remove it from your babel.config.js.

Thank you, i removed @babel/core from babel.config.js and the problem is solved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module '@babel/core' - node.js - Stack Overflow
Try running this. npm install @babel/core --save. babel changed their package so your babel-core will not be the same as @babel/core .
Read more >
Cannot find module '@babel/core' error [Solved] | bobbyhadz
To solve the error "Cannot find module '@babel/core'", make sure to install the @babe/core package by opening your terminal in your project's root...
Read more >
Cannot find module 'babel-core' · Issue #124 - GitHub
Install babel-core as your dev dependency and it will work. this not works for me.
Read more >
Error: Cannot find module 'babel-core/register' - MongoDB
Hi team, I am getting an 'Error: Cannot find module 'babel-core/register' after running npm install and npm start.
Read more >
Cannot find module '@babel/preset-stage-0' : r/learnjavascript
I installed the babel preset stage 0 package, but I am not sure what that preset stage 0 package does. + babel-preset-stage-0@6.24.1 updated...
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