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

@solana/spl-token-swap@0.4.0 causing ESM import errors #6323

Open
mario-arduini opened this issue Mar 4, 2024 · 0 comments
Open

@solana/spl-token-swap@0.4.0 causing ESM import errors #6323

mario-arduini opened this issue Mar 4, 2024 · 0 comments

Comments

@mario-arduini
Copy link

Similar to this I am using Next 14.1.0 and the token-swap js package is broken, just by installing and importing few functions/variables/etc... i get the following error

ReferenceError: exports is not defined

Call Stack
exports
node_modules\@solana\spl-token-swap\dist\esm\index.js (2:22)

i tried referincing the fixes on the previous github issue but without success, any suggestion?

thanks!

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