-
Notifications
You must be signed in to change notification settings - Fork 62
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
use with Next.js (webpack fails to load binary file) #93
Comments
I also have the same error. Were you able to find a solution for it? |
I resolved the original issue by following the /** @type {import('next').NextConfig} */
const nextConfig = {
webpack: (config) => {
config.module.rules.push({
test: /\.node$/,
loader: "node-loader",
});
return config;
},
};
module.exports = nextConfig; But that only gets you to the next error, which is
|
is there any solution? I have the same issue with Next.js. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use it in Next.js API action, but getting error:
Do I need to add some binary loader rule to webpack config, or somehow skip its loading?
The text was updated successfully, but these errors were encountered: