What version of @strapi/blocks-react-renderer are you using?
Node.js version: v20.15.0
yarn version: 1.22.22
Strapi version: 4.24.0
Database: sqlite
Operating system: Windows
Is your project Javascript or Typescript: ts
What's Wrong?
I initialized a new plugin outside the strapi folder with the npx @strapi/sdk-plugin@latest init my-plugin command.
In the options I selected both a admin and server plugin and also typescript.
Then I just wanted to build this default plugin without any modifications using yarn build
I get the following error:
[vite:esbuild] failed to resolve "extends":"@strapi/typescript-utils/tsconfigs/admin" in C:\Development\strapi5\github-projects\admin\tsconfig.json
I lookend in node_modules @strapi/typescript-utils/tsconfigs. There is a server.json, but there is no admin.json.
Just to try I copied the server.json and renamed to admin.json in node_modules. Now build is not failing, but of course this is not a good solution.
What version of
@strapi/blocks-react-renderer
are you using?Node.js version: v20.15.0 yarn version: 1.22.22 Strapi version: 4.24.0 Database: sqlite Operating system: Windows Is your project Javascript or Typescript: ts
What's Wrong?
I initialized a new plugin outside the strapi folder with the
npx @strapi/sdk-plugin@latest init my-plugin
command.In the options I selected both a admin and server plugin and also typescript. Then I just wanted to build this default plugin without any modifications using
yarn build
I get the following error:
[vite:esbuild] failed to resolve "extends":"@strapi/typescript-utils/tsconfigs/admin" in C:\Development\strapi5\github-projects\admin\tsconfig.json
I lookend in node_modules @strapi/typescript-utils/tsconfigs. There is a server.json, but there is no admin.json.
Just to try I copied the server.json and renamed to admin.json in node_modules. Now build is not failing, but of course this is not a good solution.
To Reproduce
Expected Behaviour
No error, correctly installing and building.