Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📈 [SUI Dashboard] Doesn't work on latest version #1549

Open
turolopezsanabria opened this issue Nov 22, 2022 · 0 comments
Open

📈 [SUI Dashboard] Doesn't work on latest version #1549

turolopezsanabria opened this issue Nov 22, 2022 · 0 comments

Comments

@turolopezsanabria
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant