Unable to use without babel-preset-es2015
See original GitHub issueGetting the following error
Error: Couldn't find preset "es2015" relative to directory "/Users/<username>/Projects/<project-name>/node_modules/shallowequal"
I’m using babel-preset-env
and not es2015
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Cannot find module babel-preset-es2015 - Stack Overflow
From the error it seems that you're using version 7. The es20XX-presets are deprecated, so I recommend you switch to @babel/preset-env .
Read more >Babel @babel/preset-es2015 Module not found · Issue #10633
I've installed babel 7 through the documentation command. npm install -D babel-loader @babel/core @babel/preset-env @babel/preset-es2015 ...
Read more >babel/preset-es2015 - Babel.js
Enable transformation of ES6 module syntax to another module type. Setting this to false will not transform modules. spec. boolean , defaults to...
Read more >Module build failed (from ./node_modules/babel-loader/lib ...
Queries related to “Module build failed (from ./node_modules/babel-loader/lib/index.js): Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'node_modules/@babel/ ...
Read more >babel-preset-es2015 - npm
Babel preset for all es2015 plugins.. Latest version: 6.24.1, last published: 6 years ago. Start using babel-preset-es2015 in your project ...
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
Thanks. I learnt something new today.
So quick! Thanks a lot @dashed.