Yarn build stucks at “Building admin panel"

System Information
  • Strapi Version: 4.20.0
  • Operating System: Windows / Linux
  • Database: Postgress
  • Node Version: 18.8.0
  • NPM Version:
  • Yarn Version: v1.22.19

I am running yarn build and it stucks at “Building admin panel (31595ms)”
And cannot continue my deployment process to perform the yarn start command.

How i can debug what goes wrong?

I was able to figure out the cause of my issue.

I was installing in config/logger.ts the winston-logger

ansports: [
        new LokiTransport({
            host: 'https://url',
            json: true,
            basicAuth: 'authStuff',
            labels: { app: 'app' },
            replaceTimestamp: true,
            format: format.simple(),
        }),

And that broke the process
As soon as I commented it out the deployment worked.

1 Like

Hi,

I’ve been facing the same problem. Can you share how you make it works without disabling the custom logger?

Thanks,

Hey, as far as i remember i couldnt find a solution and left it commented out

I am witnessing same issue any updates on this?