Markj89 / cta-tracker

A React Based Dashboard for the CTA (Chicago Transit Authority)
0 stars 0 forks source link

Webpack Error #94

Closed Markj89 closed 4 months ago

Markj89 commented 7 months ago

Failed to load '/Users/mjackson89/Projects/cta-tracker/webpack.config.js' config [webpack-cli] ReferenceError: require is not defined in ES module scope, you can use import instead This file is being treated as an ES module because it has a '.js' file extension and '/Users/mjackson89/Projects/cta-tracker/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.

AC: