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

sveltekit:doesn't appear to be written in CJS #71

Open
Erildo opened this issue Sep 10, 2022 · 1 comment
Open

sveltekit:doesn't appear to be written in CJS #71

Erildo opened this issue Sep 10, 2022 · 1 comment

Comments

@Erildo
Copy link

Erildo commented Sep 10, 2022

Hi Kopiro,
after installing it on my project it throws this error:
siriwave doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.

If you have encountered this problem before please let me know how you fixed it...

@A0nurfitri
Copy link

A0nurfitri commented Aug 21, 2023

Hi Kopiro, after installing it on my project it throws this error: siriwave doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.

If you have encountered this problem before please let me know how you fixed it...

I also encountered this problem before. my workaround, is that I manually edit the package.json of the siriwave package from the node_modules folder.
and add the "type":"module" to it.

#78

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

2 participants