Skip to content

mismatch BUILD_ID in multi server #786

Closed
@troywith77

Description

@troywith77

I have two server running a next program for load balancing, when I run npm run build in this two server, they generate two different BUILD_ID in their own .next dir. Then when I visit my site, the server would throw an error Build id mismatch! Seems like the server and the client version of files are not the same. do you know how to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions