'npm run strapi generate' creates the files on node_modules/@strapi/generators

Whenever I try to create a file this way I get the files created at node_modules/@strapi/generators/dist/api/test.ts,
· It does not matter whether it is TS or JS
· I’ve tried creating a fresh install and goes the same

This topic has been created from a Discord post (1298869966749040693) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

1 Like

I encountered the same issue while using Strapi version 5.1.1.

1 Like

Is this solved?