-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Package
[dashboard]@[1.34.0]
Description
file:///Users/arturo.lopez/Desktop/DesignOps/3-Design-Systems/Repos/cosa/node_modules/@s-ui/dashboard/src/index.js:14
.map(path => require(path).name)
^
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/arturo.lopez/Desktop/DesignOps/3-Design-Systems/Repos/cosa/node_modules/@s-ui/dashboard/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
at file:///Users/arturo.lopez/Desktop/DesignOps/3-Design-Systems/Repos/cosa/node_modules/@s-ui/dashboard/src/index.js:14:31
at Array.map ()
at stats (file:///Users/arturo.lopez/Desktop/DesignOps/3-Design-Systems/Repos/cosa/node_modules/@s-ui/dashboard/src/index.js:14:6)
at file:///Users/arturo.lopez/Desktop/DesignOps/3-Design-Systems/Repos/cosa/node_modules/@s-ui/dashboard/bin/sui-dashboard-components.js:101:31