Skip to content

[BUG]: Cannot find module '/app/server/i18n/locales/ru.json' #1248

@melishev

Description

@melishev

I get an error when compiling and running the project in the browser:

{
    "error": "true",
    "url": "/?t=1768080290440",
    "statusCode": 500,
    "statusMessage": "Server Error",
    "message": "Cannot find module '/app/server/i18n/locales/ru.json' imported from /app/server/chunks/build/server.mjs"
}

I set up my project as shown in this example: https://docus.dev/en/concepts/internationalization#single-language-configuration

Here is my app.config.ts code:

export default defineAppConfig({
  docus: {
    locale: 'ru',
  },
  header: {
    title: ' ',
  },
  ui: {
    colors: {
      primary: 'red',
    },
  },
})

Here is our project, where the problem arises:
https://github.com/melishev/budgera-wiki

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions