siriwave
siriwave copied to clipboard
sveltekit:doesn't appear to be written in CJS
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...
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.
https://github.com/kopiro/siriwave/issues/78