You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that someone also raised this issue on discord, and they all happened to use Nuxt (Nitro) to build the backend. I can't confirm which side the problem is.
It would be great if this could be fixed! Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered:
Hi, I think the problem comes from the fact that the module is based on CommonJS instead of ESM, so Nuxt (Nitro) and other projects with the "type": "module" attribute cannot be loaded smoothly.
A simple fix is:
importPlunkfrom"@plunk/node";constkey="..."constplunk=newPlunk.default(key);// but typescript will prompt an error
repo: https://github.com/awdr74100/plunk-demo
I found that someone also raised this issue on discord, and they all happened to use Nuxt (Nitro) to build the backend. I can't confirm which side the problem is.
It would be great if this could be fixed! Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: