opencv-js
opencv-js copied to clipboard
doesn't support nextjs 14.1.0
-
error log
-
nextjs config
/** @type {import('next').NextConfig} */
const nextConfig = {
webpack5: true,
webpack: (
config,
{ buildId, dev, isServer, defaultLoaders, nextRuntime, webpack }
) => {
config.resolve.fallback = {
fs: false,
path: false,
crypto: false,
};
return config;
},
};
export default nextConfig;
- temporary solution
After downgrading to nextjs 14.0.4, it works well.
I am getting the same error.