This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: