Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

i18n support not compatible with "next export" #23

@KHVBui

Description

@KHVBui

When trying to run "next export" in package.json in order to export the app to static HTML, an error is thrown:
"Error: i18n support is not compatible with next export. See here for more info on deploying: https://nextjs.org/docs/deployment"

Inside package.json:
"scripts": {
"dev": "next dev",
"build": "next build && next export",
"start": "next start"
},

Steps to recreate:

  1. Use command "npm run build" or "yarn run build" with the settings in package.json as above.

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