rajatdangat / strapi-plugin-ckeditor5

9 stars 4 forks source link

Crashes Strapi on V4.0.3 ? #3

Open philohelp opened 2 years ago

philohelp commented 2 years ago

I just installed Strapi V4.0.3 needing a html editor and this one seems like the only one around. Unfortunately it won't show up and seems to be crashing the app with following error message:

Capture d’écran 2022-01-11 à 01 03 59

Or maybe I did something wrong - even if I didn't do much, apart from installing theses plugins (with yarn, as the rest):

"@strapi/plugin-documentation": "4.0.3", "@strapi/plugin-graphql": "4.0.3", "@strapi/plugin-i18n": "4.0.3", "@strapi/plugin-users-permissions": "4.0.3", "@strapi/provider-upload-cloudinary": "^4.0.3",

chadimessmer commented 2 years ago

Hi,

I have the exact same problem.. Did you find a solution ?

idoliki commented 2 years ago

Just clone the repo (don't put it on Strapi yet), generate the plugin via strapi cli: npm run strapi generate, add the plugin to config/plugins as instructed in the cli and then move all the contents from this repo into that plugin folder. I also moved the package.json dependencies from this repo to my main strapi package.json, run npm run build and works fine. (on Strapi 4.0.8) @chadimessmer

philohelp commented 2 years ago

I successfully ran it with adding unmet peer deps (don't know if / which is effective), delete node-modules and yarn.lock then yarn strapi build.

It works with Strapi 4.1.0.

Following deps were added: "formik": "^2.2.9", "immer": "9.0.6", "pg": "8.6.0", "qs": "6.10.1", "react-select": "^4.0.2", "@strapi/icons": "^0.0.1-alpha.4",

chadimessmer commented 2 years ago

Thank you!! That worked for me with strapi 4.1.0 ! :)