Cannot find module '@babel/preset-core'
See original GitHub issueI’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:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top 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 >
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
@babel/core
is not a preset, please remove it from yourbabel.config.js
.Thank you, i removed @babel/core from
babel.config.js
and the problem is solved.