-
Notifications
You must be signed in to change notification settings - Fork 51
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
QUESTION: Did someone manage to get this working with Next.js #130
Comments
Hey @Aadhinana not sure if this will help but I've gotten mine to work by using next-transpile-modules. My next.config.js looks something like this: const withTM = require('next-transpile-modules')([
'@project-serum/sol-wallet-adapter',
'@gokiprotocol/walletkit',
'@saberhq/use-solana',
]);
/** @type {import('next').NextConfig} */
module.exports = withTM({
reactStrictMode: true,
webpack5: true,
}); |
I did try this but this does not seem to work as well. I have a barebones |
@Aadhinana Would you be able to provide any form of error or code snippets so we can possibly understand why it does not work? Thanks! |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There seems to be some issue with npm packages being transpiled with Next.js.
This looks like an issue on Next.js side as sol-wallet-adapter works fine. Just curious if someone figure out a good config file to get this working!
The text was updated successfully, but these errors were encountered: