Skip to content

Build error occured #1376

Closed
Closed

Description

@vagyvin

Provide environment information

MacOS Monterey

What browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

yarn build

Describe the Bug

Getting a build error

/account/contact
/account/name
/500
info - Generating static pages (45/45)

Build error occurred
[Error: ENOENT: no such file or directory, rename '.next/export/en/product.html' -> '.next/server/pages/en/product.html'] {
errno: -2,
code: 'ENOENT',
syscall: 'rename',
path: '.next/export/en/product.html',
dest: '.next/server/pages/en/product.html'
}

Expected Behavior

Should build successfully

To Reproduce

yarn build

Activity

  1. paales commented on Apr 4, 2022

    @paales
    Member

    Hi @vagyvin, can you please try and delete the .next folder and try again?

  2. locked and limited conversation to collaborators on Apr 8, 2022
  3. converted this issue into a discussion #1389 on Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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