umami: Page crash it says [@formatjs/intl] An `id` must be provided to format a message.

Describe the Bug

I can’t visit umami dashboard. Got error

[@formatjs/intl] An id must be provided to format a message. You can either: 1. Configure your build toolchain with babel-plugin-formatjs or @formatjs/ts-transformer OR 2. Configure your eslint config to include eslint-plugin-formatjs to autofix this issue Error: [@formatjs/intl] An id must be provided to format a message. You can either:

  1. Configure your build toolchain with babel-plugin-formatjs or @formatjs/ts-transformer OR
  2. Configure your eslint config to include eslint-plugin-formatjs to autofix this issue at r (https://analyze.innei.ren/_next/static/chunks/pages/_app-0e67ddf2180faf84.js:1:150) at m (https://analyze.innei.ren/_next/static/chunks/pages/_app-0e67ddf2180faf84.js:6:546061) at Y (https://analyze.innei.ren/_next/static/chunks/pages/_app-0e67ddf2180faf84.js:6:555082) at I (https://analyze.innei.ren/_next/static/chunks/968-104b6020f0922c66.js:1:5015) at ab (https://analyze.innei.ren/_next/static/chunks/framework-2c79e2a64abdb08b.js:9:60915) at ud (https://analyze.innei.ren/_next/static/chunks/framework-2c79e2a64abdb08b.js:9:72801) at i (https://analyze.innei.ren/_next/static/chunks/framework-2c79e2a64abdb08b.js:9:120370) at oO (https://analyze.innei.ren/_next/static/chunks/framework-2c79e2a64abdb08b.js:9:99112) at https://analyze.innei.ren/_next/static/chunks/framework-2c79e2a64abdb08b.js:9:98979 at oF (https://analyze.innei.ren/_next/static/chunks/framework-2c79e2a64abdb08b.js:9:98986)

Database

PostgreSQL

Relevant log output

No response

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 17
  • Comments: 18 (4 by maintainers)

Commits related to this issue

Most upvoted comments

I am still getting this error on 2.3.0

Yep, something is not right, upgrade to 2.3.1 solves this temporarily since it has to do with the new-version-available.

I am still getting this error on 2.3.0

  1. Clear cookies
  2. Login to dashboard
  3. Looks good
  4. Refresh page
  5. Error
[@formatjs/intl] An `id` must be provided to format a message. You can either: 1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin) or [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR 2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id) to autofix this issue
Error: [@formatjs/intl] An `id` must be provided to format a message. You can either:
1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)
or [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR
2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)
to autofix this issue

Fixed in v2.4.0.

Hi, I got the same issue on version 2.2.0. After deleting the cookies and Localstorage data from my browser, it works fine now

I think it’s connected with this code because there is no such constant, messages.newVersionAvailable in file /components/messages.js. And when a new release comes out, the translation system crashes.

Silly question but what steps do you need to take? I’ve done yarn upgrade umami, which finished without problems, but still seeing the same error.

just git pull yarn install and yarn build then I used pm2 to start umami.

@Innei fixed by updating to the latest release