Software⏱️ 2 min read📅 2026-06-03

How to Fix: Module not found: Error: Can't resolve 'core-js/es6'

Learn how to fix: Module not found: Error: Can't resolve 'core-js/es6'.

Quick Answer: Try checking your system settings or restarting.

The 'Module not found: Error: Can't resolve 'core-js/es6'

🔍 Why This Happens

  • Core JS is not included in the project's dependencies.

✅ Best Solutions to Fix It

Method 1: Install Core JS Using npm or yarn

  1. Step 1: Run the following command in your terminal: npm install core-js or yarn add core-js

Method 2: Include Core JS in Your polyfill.js File Directly

  1. Step 1: Import Core JS at the top of your polyfill.js file: import 'core-js/es6';

✨ Wrapping Up

By following these steps, you should be able to resolve the 'Module not found: Error: Can't resolve 'core-js/es6'

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions