Closed zfaizal2 closed 2 years ago
@zfaizal2 Have you tried adding the code below?
next.config.js
/** @type {import('next').NextConfig} */
module.exports = {
webpack: (config) => {
config.resolve.fallback = { fs: false, path: false };
return config;
},
};
@mayognaise Thanks for the suggestion, I tried that but still facing the same errors.
@zfaizal2 Could you share your code? I use exact same environment so I might be able to help you
(Although my nextjs verison is 12.1.6
)
Fyi there was an issue related with AbortController
Hi there 👋
Would you mind upgrading to version 0.12.0
and let me know if that fixes your issue?
Hi there 👋
I'm going to close this due to inactivity but feel free to open a new issue using the latest version with updated information if you need to.
Thank you for your understanding.
We’re developing a library that uses the metaplex JS SDK as a dependency. When using this library in a nextJS app, the app errors out with the error below.
When using this with a create-react-app based app however, things work just fine.
Has anyone seen this before? What are potential steps or avenues to resolve this?
Versions used
@metaplex-foundation/js : 0.11.7
next-js: 12.0.7