Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strapi crashes after adding strapi-plugin-ckeditor5. #47

Open
shahzaibgeekshub opened this issue Apr 13, 2022 · 3 comments · May be fixed by #53
Open

Strapi crashes after adding strapi-plugin-ckeditor5. #47

shahzaibgeekshub opened this issue Apr 13, 2022 · 3 comments · May be fixed by #53

Comments

@shahzaibgeekshub
Copy link

shahzaibgeekshub commented Apr 13, 2022

I tried to remove strapi default markdown editor and trying to add strapi-plugin-ckeditor5 but strapi crashes and screen go white when i open any entry in content manager which includes rich text editor field.

Here is the error.
image

Here is my package.json

{
"name": project-name",
"private": true,
"version": "0.1.0",
"description": "A Strapi application",
"scripts": {
"develop": "strapi develop",
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi"
},
"devDependencies": {},
"dependencies": {
"@strapi/plugin-i18n": "4.1.2",
"@strapi/plugin-users-permissions": "4.1.2",
"@strapi/provider-email-sendgrid": "^4.1.2",
"@strapi/strapi": "4.1.2",
"axios": "^0.26.1",
"bcrypt": "^5.0.1",
"lodash": "^4.17.21",
"pg": "^8.7.3",
"pg-connection-string": "^2.5.0",
"sqlite3": "5.0.2",
"strapi-plugin-ckeditor5": "^2.1.1-rc.1",
"strapi-utils": "^3.6.8",
"underscore": "^1.13.2"
},
"author": {
"name": "A Strapi developer"
},
"strapi": {
"uuid": "my-project's uuid"
},
"engines": {
"node": ">=12.x.x <=16.x.x",
"npm": ">=6.0.0"
},
"license": "MIT"
}

This is what i have done so far.

  1. Delete node_modules
  2. Delete .cache
  3. Delete build
  4. Delete package-lock.json or yarn.lock
  5. Reinstall node modules
  6. Rebuild admin
@yamalweb
Copy link

I tried to remove strapi default markdown editor and trying to add strapi-plugin-ckeditor5 but strapi crashes and screen go white when i open any entry in content manager which includes rich text editor field.

Here is the error. image

Here is my package.json

{ "name": project-name", "private": true, "version": "0.1.0", "description": "A Strapi application", "scripts": { "develop": "strapi develop", "start": "strapi start", "build": "strapi build", "strapi": "strapi" }, "devDependencies": {}, "dependencies": { "@strapi/plugin-i18n": "4.1.2", "@strapi/plugin-users-permissions": "4.1.2", "@strapi/provider-email-sendgrid": "^4.1.2", "@strapi/strapi": "4.1.2", "axios": "^0.26.1", "bcrypt": "^5.0.1", "lodash": "^4.17.21", "pg": "^8.7.3", "pg-connection-string": "^2.5.0", "sqlite3": "5.0.2", "strapi-plugin-ckeditor5": "^2.1.1-rc.1", "strapi-utils": "^3.6.8", "underscore": "^1.13.2" }, "author": { "name": "A Strapi developer" }, "strapi": { "uuid": "my-project's uuid" }, "engines": { "node": ">=12.x.x <=16.x.x", "npm": ">=6.0.0" }, "license": "MIT" }

This is what i have done so far.

  1. Delete node_modules
  2. Delete .cache
  3. Delete build
  4. Delete package-lock.json or yarn.lock
  5. Reinstall node modules
  6. Rebuild admin

I am fixed this bug upgrade strapi to latest version

@vinayg-cp
Copy link

I tried to remove strapi default markdown editor and trying to add strapi-plugin-ckeditor5 but strapi crashes and screen go white when i open any entry in content manager which includes rich text editor field.
Here is the error. image
Here is my package.json
{ "name": project-name", "private": true, "version": "0.1.0", "description": "A Strapi application", "scripts": { "develop": "strapi develop", "start": "strapi start", "build": "strapi build", "strapi": "strapi" }, "devDependencies": {}, "dependencies": { "@strapi/plugin-i18n": "4.1.2", "@strapi/plugin-users-permissions": "4.1.2", "@strapi/provider-email-sendgrid": "^4.1.2", "@strapi/strapi": "4.1.2", "axios": "^0.26.1", "bcrypt": "^5.0.1", "lodash": "^4.17.21", "pg": "^8.7.3", "pg-connection-string": "^2.5.0", "sqlite3": "5.0.2", "strapi-plugin-ckeditor5": "^2.1.1-rc.1", "strapi-utils": "^3.6.8", "underscore": "^1.13.2" }, "author": { "name": "A Strapi developer" }, "strapi": { "uuid": "my-project's uuid" }, "engines": { "node": ">=12.x.x <=16.x.x", "npm": ">=6.0.0" }, "license": "MIT" }
This is what i have done so far.

  1. Delete node_modules
  2. Delete .cache
  3. Delete build
  4. Delete package-lock.json or yarn.lock
  5. Reinstall node modules
  6. Rebuild admin

I am fixed this bug upgrade strapi to latest version

image

I have the same issue on 4.1.5, which version did you upgrade to?

@tefkah tefkah linked a pull request May 13, 2022 that will close this issue
@tefkah
Copy link

tefkah commented May 13, 2022

I've had the same issue, you can pull from https://github.com/ThomasFKJorna/strapi-plugin-ckeditor5 instead for a temporary fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants