Open
Description
Bug report
Required System information
- Node.js version: 20.18.0
- NPM version: 10.8.2
- Strapi version: 5.4.1
- Database: Postgresql
- Operating system: Windows WSL2
- Is your project Javascript or Typescript: Typescript
Describe the bug
I started a brand new project and have already some collectionType and singleType but suddently, when i was adding some content, the content type builder was not able to generate a new one without the Typescript error explained bellow.
Steps to reproduce the behavior
- Go to content type builder in the admin panel
- Generate a new collection or single type
- In your IDE chek the new folder generated in /api and compare if there is differences with others valid ressources
- controller, route and service return the same error from factories (see screenshot)
Screenshots
Additional context
- I checked the folder named for-bug for my example but i didn't noticed anything wrong about generation like bad naming and i checked the database.
- I compared with other ressources to see if there is differences
- Nothing "fancy" has been done in the code, i rely on the legacy strapi factory and knex
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To be reviewed (Open)
Status
To triage