79133562

Date: 2024-10-28 13:20:03
Score: 0.5
Natty:
Report link

Only this worked fro me

// next.config.js
const nextConfig = {
  webpack: (config, { isServer }) => {
    // Only attempt to resolve fs module on the server side
    if (!isServer) {
      config.resolve.fallback = {
        fs: false,
      };
    }
    return config;
  },
};

module.exports = nextConfig;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dushan Wijesinghe