Static worker unexpectedly exited with code: null and signal: SIGTERM

3.2k Views Asked by At

When I run pNpm build locally, it builds successfully without any errors. However, when I deploy it on Vercel, it keeps failing and returns this error:

Static worker unexpectedly exited with code: null and signal: SIGTERM

I'm pretty sure I don't have .next folder in my repository.

This is my next.config.js:

/** @type {import('next').NextConfig} */
const nextConfig = {
  webpack: (config) => {
    config.module.rules.push({
      test: /\.node$/,
      use: "node-loader",
    });

    return config;
  },
  images: {
    domains: ["https://firebasestorage.googleapis.com/"],
  },
};

module.exports = nextConfig;

image

1

There are 1 best solutions below

0
Md. Abu Bakker Siddique On

Do you try to delete .next folder and rebuild

rm -rf .next