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

ESM import error #1

Open
revmischa opened this issue Feb 6, 2024 · 0 comments
Open

ESM import error #1

revmischa opened this issue Feb 6, 2024 · 0 comments

Comments

@revmischa
Copy link

Sorry, I get this error when I try to import it:

ReferenceError: exports is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and '/home/cyber/dev/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/use-media-stream/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
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