System Information
- Strapi Version: 4.11.3
- Operating System: Windows 10
- Database: Postgres
- Node Version: v18.8.0
- NPM Version: v9.6.4
- Yarn Version: 1.22.19
So in my setup in (some, not all) collection types when I try to add a new component with the following button:
the editor part of the page fails with this message:
Woops! Something went wrong. Please, try again.
it fails seemingly on client side, no failed network request.
the console shows the following error (not sure if it’s related or not):
main.edd3909c.js:10077 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
at U (3939.bc7d362c.chunk.js:1:1059)
at Ft (3939.bc7d362c.chunk.js:1:34250)
at Qt (3939.bc7d362c.chunk.js:11:2249)
at content-manager.be225e3c.chunk.js:124:1078
at Array.map (<anonymous>)
at Bn (content-manager.be225e3c.chunk.js:124:649)
at g4 (main.edd3909c.js:10075:20605)
at uh (main.edd3909c.js:10077:45449)
at Dm (main.edd3909c.js:10077:41052)
at qh (main.edd3909c.js:10077:40980)
But if the page already has some components added, I can use the “Add component below” button, in the three-dot-menu, and it works as expected.
Any idea why that add button is behaving like this, or where to look? Any suggestions would be much appreciated!