mancku / strapi-plugin-schemas-to-ts

Strapi Plugin Schemas to TS is a plugin for Strapi v4 that automatically converts your Strapi schemas into Typescript interfaces.
MIT License
56 stars 13 forks source link

I get this error all the time: src/common/schemas-to-ts/BeforeRunEvent.ts:3:23 - error TS2307: Cannot find module '@strapi/database/dist/lifecycles' or its corresponding type declarations. #43

Open briankandersen opened 6 months ago

briankandersen commented 6 months ago

I am using these dependencies in package.json

"dependencies": { "@exfabrica/strapi-plugin-awesome-help": "https://github.com/ExFabrica/strapi-plugin-awesome-help.git", "@strapi/plugin-i18n": "4.14.4", "@strapi/plugin-users-permissions": "4.14.4", "@strapi/strapi": "4.14.4", "pg": "8.11.3", "strapi-plugin-multi-select": "^1.2.2", "strapi-plugin-populate-deep": "^3.0.0", "strapi-plugin-schemas-to-ts": "^1.1.21", "strapi-plugin-transformer": "^3.1.2" },

I have also tried the latest Strapi 4.17.0 Same error

I am using yarn 4.0.2 I am using nodes 18.18.2

ChristopherLMiller commented 1 month ago

I am getting this on the newest builds of strapi as well, plugin author needs to update

Bredansky commented 3 weeks ago

+1

I am experiencing the same with new builds

umarmemon1998 commented 2 weeks ago

I am also experiencing the same with new builds