opencv-js icon indicating copy to clipboard operation
opencv-js copied to clipboard

doesn't support nextjs 14.1.0

Open ChangHyun2 opened this issue 1 year ago • 2 comments

  1. error log image image

  2. 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;

  1. temporary solution

After downgrading to nextjs 14.0.4, it works well.

ChangHyun2 avatar Feb 17 '24 04:02 ChangHyun2

I am getting the same error.

christianstamati avatar Feb 26 '24 17:02 christianstamati