CKEditor fail to deploy in Digitalocean App Platform

I have successfully deploy Strapi on DO’s App Platform. However, when I had upgrade the rich text editor to CKEditor (on local env everything is working) and push it to App Platform I am facing the build error.

Error: msg
Error: Module not found: Error: Can’t resolve ‘@ckeditor/ckeditor5-react’ in ‘/workspace/plugins/wysiwyg/admin/src/components/CKEditor’

App Platform Build console log:
[cms-do] [2021-10-04 08:14:36] Project contains yarn.lock, using yarn
[cms-do] [2021-10-04 08:14:36] Reusing cached node_modules from yarn.lock
[cms-do] [2021-10-04 08:14:54] Running custom build command: DATABASE_URL=$DATABASE_URL NODE_ENV=production yarn build
[cms-do] [2021-10-04 08:14:55] yarn run v1.22.15
[cms-do] [2021-10-04 08:14:55] $ strapi build
[cms-do] [2021-10-04 08:14:57] Building your admin UI with production configuration …
[cms-do] [2021-10-04 08:15:00] :information_source: Compiling Webpack
[cms-do] [2021-10-04 08:15:29] Error: Module not found: Error: Can’t resolve ‘@ckeditor/ckeditor5-react’ in ‘/workspace/plugins/wysiwyg/admin/src/components/CKEditor’
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/strapi-admin/index.js:71:23
[cms-do] [2021-10-04 08:15:29] at finalCallback (/workspace/node_modules/webpack/lib/Compiler.js:257:39)
[cms-do] [2021-10-04 08:15:29] at onCompiled (/workspace/node_modules/webpack/lib/Compiler.js:265:20)
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/webpack/lib/Compiler.js:670:21
[cms-do] [2021-10-04 08:15:29] at eval (eval at create (/workspace/node_modules/tapable/lib/HookCodeFactory.js:33:10), :28:1)
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/webpack/lib/Compilation.js:1173:13
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/webpack/lib/Compilation.js:1096:25
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/webpack/lib/Compilation.js:1017:13
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/neo-async/async.js:2830:7
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/neo-async/async.js:2830:7
[cms-do] [2021-10-04 08:15:29] at done (/workspace/node_modules/neo-async/async.js:2863:11)
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/neo-async/async.js:2818:7
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/webpack/lib/Compilation.js:1017:13
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/neo-async/async.js:2830:7
[cms-do] [2021-10-04 08:15:29] at /workspace/node_modules/neo-async/async.js:2830:7
[cms-do] [2021-10-04 08:15:29] at done (/workspace/node_modules/neo-async/async.js:2863:11)
[cms-do] [2021-10-04 08:15:29] error Command failed with exit code 1.
[cms-do] [2021-10-04 08:15:29] info Visit yarn run | Yarn for documentation about this command.
[cms-do] [2021-10-04 08:15:29] building: exit status 1
[cms-do] [2021-10-04 08:15:29] ERROR: failed to build: exit status 1
[cms-do] [2021-10-04 08:15:40]
[cms-do] [2021-10-04 08:15:40] For documentation on the buildpacks used to build your app, please see:
[cms-do] [2021-10-04 08:15:40] Node.js: NodeJS Buildpack on App Platform :: DigitalOcean Documentation
[cms-do] [2021-10-04 08:15:40]
[cms-do] [2021-10-04 08:15:40] ! Build failed (145)

Please see also the content of both package.json files:

Content of ./plugins/wysiwyg/package.json

{
  "name": "strapi-plugin-wysiwyg",
  "version": "0.0.0",
  "description": "This is the description of the plugin.",
  "strapi": {
    "name": "wysiwyg",
    "icon": "plug",
    "description": "Description of wysiwyg plugin."
  },
  "dependencies": {
    "@ckeditor/ckeditor5-build-classic": "^30.0.0",
    "@ckeditor/ckeditor5-react": "^3.0.2"
  },
  "author": {
    "name": "A Strapi developer",
    "email": "",
    "url": ""
  },
  "maintainers": [
    {
      "name": "A Strapi developer",
      "email": "",
      "url": ""
    }
  ],
  "engines": {
    "node": ">=10.16.0 <=14.x.x",
    "npm": ">=6.0.0"
  },
  "license": "MIT"
}

and

Content of ./package.json

{
  "name": "sec-cms-do",
  "private": true,
  "version": "0.1.0",
  "description": "A Strapi application",
  "scripts": {
    "develop": "strapi develop",
    "start": "strapi start",
    "build": "strapi build",
    "strapi": "strapi"
  },
  "devDependencies": {},
  "dependencies": {
    "knex": "0.21.18",
    "pg": "8.5.1",
    "pg-connection-string": "^2.5.0",
    "strapi": "3.6.8",
    "strapi-admin": "3.6.8",
    "strapi-connector-bookshelf": "3.6.8",
    "strapi-plugin-content-manager": "3.6.8",
    "strapi-plugin-content-type-builder": "3.6.8",
    "strapi-plugin-email": "3.6.8",
    "strapi-plugin-i18n": "3.6.8",
    "strapi-plugin-upload": "3.6.8",
    "strapi-plugin-users-permissions": "3.6.8",
    "strapi-provider-upload-do": "^3.6.6",
    "strapi-utils": "3.6.8"

  },
  "author": {
    "name": "A Strapi developer"
  },
  "strapi": {
    "uuid": "0b438b19-c14d-4385-939c-c793513e2c78"
  },
  "engines": {
    "node": ">=10.16.0 <=14.x.x",
    "npm": "^6.0.0"
  },
  "license": "MIT"
}

Apparently I have found root of the problem and quick fix.

When following this official tutorial and using yarn the 3rd step:

  1. Install the needed dependencies:
    yarn add @ckeditor/ckeditor5-react @ckeditor/ckeditor5-build-classic

for some weird reason, have not create @ckeditor folder inside node_modules and therefore there were no corresponding dependencies in the package.json and yarn.lock.

I have fixed this issue by running after whole tutorial single command “yarn add @ckeditor/ckeditor5-build-classic” without “react” part from 3rd step. This have added dependencies to ./package.json file and updeted yarn.lock file with following:

>added content of yarn.lock

"@ckeditor/ckeditor5-adapter-ckfinder@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-adapter-ckfinder/-/ckeditor5-adapter-ckfinder-30.0.0.tgz#f5fb2591acd396b0956abffc879d88e16368998d"
  integrity sha512-tfFCMI7RKlpop5FeFoiRRT8O9+2ps/DaFxXiYKsAcsPFdpS9ArQebV7qB634CRadhe1yXgDm6+XrEsxd0W/ZgQ==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-autoformat@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-autoformat/-/ckeditor5-autoformat-30.0.0.tgz#71d5e95e83d08d7481b0a1c51db281cace298ce4"
  integrity sha512-OkEiov3vaaW291fg3tBjusngTJYvkDC5TGvkqc/z+zOTHSG1oseaPRz5uD/glxsSNXfEPSTkcZhIQB2Rc1ljHg==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-basic-styles@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-basic-styles/-/ckeditor5-basic-styles-30.0.0.tgz#73a4a35d7f815cf9bcdd76128fb56afdfba515f7"
  integrity sha512-3LwCFWa1toaN/cKcGtWCRGr12/QwFx2093f1o9JKiwVyUV7vGimRz14hgLMFeCqY0sZIfmXoPTZnn+9wThHqsA==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-block-quote@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-block-quote/-/ckeditor5-block-quote-30.0.0.tgz#fce1df69bd63a8ea21ed6d76e5967f50095d64aa"
  integrity sha512-4Xth4i6YIF15/icoNMMmif8Bbn8YrXHxF1Xof22DR44luUQqvk8WzwXOLUYvMPMGFEpKNlUYl3rYxrEfhhAC9w==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-build-classic@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-build-classic/-/ckeditor5-build-classic-30.0.0.tgz#70d978c6d343ca5f5b8f04bf46c9225fe127edcd"
  integrity sha512-HsZ1LUsFzNzBur59kZkZrX5kgSw9uq1t8M8Shqn14Yu9rbM0Ne7OMD9I+Ig04TguPCZZczUBrSewHx9nV0X+0w==
  dependencies:
    "@ckeditor/ckeditor5-adapter-ckfinder" "^30.0.0"
    "@ckeditor/ckeditor5-autoformat" "^30.0.0"
    "@ckeditor/ckeditor5-basic-styles" "^30.0.0"
    "@ckeditor/ckeditor5-block-quote" "^30.0.0"
    "@ckeditor/ckeditor5-ckfinder" "^30.0.0"
    "@ckeditor/ckeditor5-cloud-services" "^30.0.0"
    "@ckeditor/ckeditor5-easy-image" "^30.0.0"
    "@ckeditor/ckeditor5-editor-classic" "^30.0.0"
    "@ckeditor/ckeditor5-essentials" "^30.0.0"
    "@ckeditor/ckeditor5-heading" "^30.0.0"
    "@ckeditor/ckeditor5-image" "^30.0.0"
    "@ckeditor/ckeditor5-indent" "^30.0.0"
    "@ckeditor/ckeditor5-link" "^30.0.0"
    "@ckeditor/ckeditor5-list" "^30.0.0"
    "@ckeditor/ckeditor5-media-embed" "^30.0.0"
    "@ckeditor/ckeditor5-paragraph" "^30.0.0"
    "@ckeditor/ckeditor5-paste-from-office" "^30.0.0"
    "@ckeditor/ckeditor5-table" "^30.0.0"
    "@ckeditor/ckeditor5-typing" "^30.0.0"

"@ckeditor/ckeditor5-ckfinder@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-ckfinder/-/ckeditor5-ckfinder-30.0.0.tgz#8612d985122ccfb43b606c2d26ac0c5508097ea6"
  integrity sha512-OROvB4lrUy3QyA8ZkV+S/d5TD1DbyyJ6WCPEJv3GDNWLhOvcBFZpxSL0z3DHCQOJQE+a4rr8cjjToxdnZW5/yQ==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-clipboard@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-clipboard/-/ckeditor5-clipboard-30.0.0.tgz#fbc2974ef8a993f413a2f9926cb8ad329070d1ad"
  integrity sha512-Qpr965xZy3bYe8v8+ogEXG7m03KC5wwn5yHn6Jbexue4NhZSCsqqSKJCjIEpNEGh+RQ4gFG0AJcRLee9oMq+VQ==
  dependencies:
    "@ckeditor/ckeditor5-core" "^30.0.0"
    "@ckeditor/ckeditor5-engine" "^30.0.0"
    "@ckeditor/ckeditor5-utils" "^30.0.0"
    "@ckeditor/ckeditor5-widget" "^30.0.0"
    lodash-es "^4.17.11"

"@ckeditor/ckeditor5-cloud-services@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-cloud-services/-/ckeditor5-cloud-services-30.0.0.tgz#de1448a94e4f573f783ba21c2a9fcb516d956531"
  integrity sha512-eTCnhQGA+aLkIqqfWyqwjrbaF00kKQTrzj+NZsLFtblRe8MZ8ZrneDhWyMxJ96m7Gqq6FpBN/GVZOWZm3p06OA==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-core@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-core/-/ckeditor5-core-30.0.0.tgz#1330b9579127ad42b5fe87fc5e02d80b871d963a"
  integrity sha512-f77Hd5plp9gp4+csTC4I8LVD8W7JmZ7D9kI1cCWryPkKArcTmt+RJl5OIWU2l6rPuv8Pwp1GkjSIExW7jQJnxg==
  dependencies:
    "@ckeditor/ckeditor5-engine" "^30.0.0"
    "@ckeditor/ckeditor5-ui" "^30.0.0"
    "@ckeditor/ckeditor5-utils" "^30.0.0"
    lodash-es "^4.17.15"

"@ckeditor/ckeditor5-easy-image@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-easy-image/-/ckeditor5-easy-image-30.0.0.tgz#00be5c44303f0316fc81a840e52c8dfd88d27ec2"
  integrity sha512-DN61WygBsUYwLbCsogHj7gUs+tFk51kZ1C3+f7o/eVSr/11aQ7KhLvcnXQ7b5rQnhiBqJCJoXb9A9WL1Xg3dxQ==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-editor-classic@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-editor-classic/-/ckeditor5-editor-classic-30.0.0.tgz#ed195693b09d4d1b5d5ce9072603da8a2b2b3d6f"
  integrity sha512-xVK5N6Bd5LXyoQT/ep8MD42UsUzQS+qoTkp0qaj2ZDxthx8W6yRRsJdVnRrkZfiD4e/y42BLfRAhPt6xYg8xdw==
  dependencies:
    ckeditor5 "^30.0.0"
    lodash-es "^4.17.15"

"@ckeditor/ckeditor5-engine@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-30.0.0.tgz#9fac40732312a4d4e28bbea9e892364a3ee10b30"
  integrity sha512-k8Uev+IbNXcO/ihWlDmRL+xiUV4MvJVtZLA8+UdLp8hiuGW9THw0ODYDvmCe88JG7QkiwfPhtLejKu0hMrJD9Q==
  dependencies:
    "@ckeditor/ckeditor5-utils" "^30.0.0"
    lodash-es "^4.17.15"

"@ckeditor/ckeditor5-enter@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-enter/-/ckeditor5-enter-30.0.0.tgz#204dfe69ab1106991fa300705848ed9f3c2846bf"
  integrity sha512-JzyAU0oHMHuYuVv4ot5e72uHHCqmTSJrqd/ouUbICW/dXmsbGsu5SKeCFiSsZfT1+xBvSmtiDlwjUOhAWzZ6cQ==
  dependencies:
    "@ckeditor/ckeditor5-core" "^30.0.0"
    "@ckeditor/ckeditor5-engine" "^30.0.0"
    "@ckeditor/ckeditor5-utils" "^30.0.0"

"@ckeditor/ckeditor5-essentials@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-essentials/-/ckeditor5-essentials-30.0.0.tgz#279b658e71de9933669da09fca7668f6029109ff"
  integrity sha512-Va3SMa8AB+KR3TU+teNJY1SxvZvQEVQEtNOr8CGcHWe0j7c9nQJaJdwJLfOCKYH5jjiKQixNrdnmN+14BxSwPw==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-heading@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-heading/-/ckeditor5-heading-30.0.0.tgz#d13121d766ba69d7ededa69a07f2a13b96710ba6"
  integrity sha512-G7h9Zeu+rfHlA90t4VSzRsci12SapGHNZXAZqmcnOFizkCVG1lNE3DZso7YhHF2FrBDan0O3XRPfp0VUB2TTFg==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-image@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-image/-/ckeditor5-image-30.0.0.tgz#fe8601a08e83cb34aa711ba41b8997ce56789f70"
  integrity sha512-9etD/L074Vlq2FMQyrBWCzaaJDZgy/+aTvtOgUxS2oH+NzdOW4PwluQwGRex0VZ9zERaorHrel/lFMvPUIaeTQ==
  dependencies:
    "@ckeditor/ckeditor5-ui" "^30.0.0"
    ckeditor5 "^30.0.0"
    lodash-es "^4.17.15"

"@ckeditor/ckeditor5-indent@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-indent/-/ckeditor5-indent-30.0.0.tgz#27a2ae1ec341aed20d2c7cdd9331112d0e334584"
  integrity sha512-czzpwtiH15qZYBuH2xhz24V0hy9Jxnq8uhhRlYajiUbj0cf8ePAceomP/jNH20j9L4DWopuoPNlHprO0LtGioQ==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-link@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-link/-/ckeditor5-link-30.0.0.tgz#da79c74e26987cb1ea672cc85e3fdddabaa4f389"
  integrity sha512-EtXQDlVXW4vvtjFMG09OJVCBom8OwhS4EfL4sVkHbI1iTan7LvRH5NQIyxZSEw4jYisHGbTqrxqDhjg5xScO9g==
  dependencies:
    "@ckeditor/ckeditor5-ui" "^30.0.0"
    ckeditor5 "^30.0.0"
    lodash-es "^4.17.15"

"@ckeditor/ckeditor5-list@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-list/-/ckeditor5-list-30.0.0.tgz#914380002dfe6f3c3c5c791bf9e777edfeb0de54"
  integrity sha512-1pqXn8xAa8bCMaJsBzgCR6yev2Xk+Bz0cf9PO2CjxGhLAbHpHRXl8kGjGnPP4aRLh0ecf8zNc7HmuD7BxHPzsw==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-media-embed@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-media-embed/-/ckeditor5-media-embed-30.0.0.tgz#3d8f457744de6d356c067dc696466300781d1804"
  integrity sha512-96fKNyDySQytkSwMtfOwawxYO/mJ/wuB5uQIbBqPmsSMGVbMqdqk3fQp60cL6J8H47X47j9XF3Maz1ml8Al3kw==
  dependencies:
    "@ckeditor/ckeditor5-ui" "^30.0.0"
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-paragraph@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-paragraph/-/ckeditor5-paragraph-30.0.0.tgz#4dae50129609509c9def93d8f2d815ff1e63d9d3"
  integrity sha512-DS3qOd+EKX9lfSwMmpAqQN5NLGDKusCJCGw3dnmnWnm671pwoYmNTEHmHDL38KQgJBJQxvXm8+dHPCHAkFKbsw==
  dependencies:
    "@ckeditor/ckeditor5-core" "^30.0.0"
    "@ckeditor/ckeditor5-ui" "^30.0.0"
    "@ckeditor/ckeditor5-utils" "^30.0.0"

"@ckeditor/ckeditor5-paste-from-office@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-paste-from-office/-/ckeditor5-paste-from-office-30.0.0.tgz#6e6fa375b4f0645755240c15f5e9ea11286d7c65"
  integrity sha512-rDRpzajBp+s0m5Pf0sXG73u8moGQcno8hhUJ9li7EROmxsM4EVeKAao2W3MEu9hNIvu63Jps2JD7YSmOTjMAoA==
  dependencies:
    ckeditor5 "^30.0.0"

"@ckeditor/ckeditor5-react@^3.0.2":
  version "3.0.2"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-react/-/ckeditor5-react-3.0.2.tgz#257466959cf5c6e16ed3dd3afe860e4c177dd156"
  integrity sha512-hOAREzVUp8dwE8vV8qgxIGBOJzaxCm8N2aEhtbCq6QZbGLW9dckdfGKVmbtgEnCQgueVXEUqfDyUIXM6LtXDHA==
  dependencies:
    prop-types "^15.7.2"

"@ckeditor/ckeditor5-select-all@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-select-all/-/ckeditor5-select-all-30.0.0.tgz#ce393b633d8f8f928d0d87e0ce25292fba249f3c"
  integrity sha512-niJmpgPEBP/jT8HY9BPxInYf58Jyd0kWY7+zQ3kJxdM2zqaF1eNmaI9kjsprrKXVMnU8Jpq9n0fLvM3GUbW35Q==
  dependencies:
    "@ckeditor/ckeditor5-core" "^30.0.0"
    "@ckeditor/ckeditor5-ui" "^30.0.0"
    "@ckeditor/ckeditor5-utils" "^30.0.0"

"@ckeditor/ckeditor5-table@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-table/-/ckeditor5-table-30.0.0.tgz#dacb014553826a972826b0692ee35b01784ba84b"
  integrity sha512-B4/h6YV3ZD7GJFlL51zyQ+wrv1T9KMsNHCWafYPey/OGTCW66L5018XlsjM2Lc3LWweHHotlS4uJq7Ys4zlcnA==
  dependencies:
    ckeditor5 "^30.0.0"
    lodash-es "^4.17.15"

"@ckeditor/ckeditor5-typing@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-typing/-/ckeditor5-typing-30.0.0.tgz#201b09e4c467efa997e242e11ee9505193d990e9"
  integrity sha512-Ay76oQsvkCaPpfOELYHblbQ8cEtDFRbtHdE+7n4GtZhbWjo89HnAkZZZ3JOzn3TPmAje2JRo+KWhAAk+RiAl8w==
  dependencies:
    "@ckeditor/ckeditor5-core" "^30.0.0"
    "@ckeditor/ckeditor5-engine" "^30.0.0"
    "@ckeditor/ckeditor5-utils" "^30.0.0"
    lodash-es "^4.17.15"

"@ckeditor/ckeditor5-ui@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-ui/-/ckeditor5-ui-30.0.0.tgz#e8a9b911de9d23d2aba921c026a21cb4a218fabd"
  integrity sha512-skd4h4XoVtOAlmbQWQwCPyRxkjOdxhtvXKdL1T/5ATCMcd2/Hea5YRkcRvEmtCn1/xdEYBLLFniG0rcAiuybSA==
  dependencies:
    "@ckeditor/ckeditor5-core" "^30.0.0"
    "@ckeditor/ckeditor5-utils" "^30.0.0"
    lodash-es "^4.17.15"

"@ckeditor/ckeditor5-undo@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-undo/-/ckeditor5-undo-30.0.0.tgz#c4c00c9ef3958873759c6f7276d79ec855b51204"
  integrity sha512-2VncqNw5L+RnxgpGPgDs3bnvCX55XP2rcbbD8/VoJPwvyhC/qLrtyEbFAO6qm44GTLAKBDhvJrmwTGO7QsrCHQ==
  dependencies:
    "@ckeditor/ckeditor5-core" "^30.0.0"
    "@ckeditor/ckeditor5-engine" "^30.0.0"
    "@ckeditor/ckeditor5-ui" "^30.0.0"

"@ckeditor/ckeditor5-upload@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-upload/-/ckeditor5-upload-30.0.0.tgz#7f324c77626f177fb89bf6d55286ad64984e82ba"
  integrity sha512-2s8ZHOpVMHyiCFGy0gwD9DqSbuXW1UjvETIw3nmAd8O6AYi4jhBRuibHRKuumZTU1lskaOjG8UprQkIQBcGi7Q==
  dependencies:
    "@ckeditor/ckeditor5-core" "^30.0.0"
    "@ckeditor/ckeditor5-ui" "^30.0.0"
    "@ckeditor/ckeditor5-utils" "^30.0.0"

"@ckeditor/ckeditor5-utils@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-30.0.0.tgz#8d131512b187134724a81183741c746d6e6d2874"
  integrity sha512-pq4lJdkK/XPwD3ZdSWU/ZRklSMjmfAphp7vRiB0g1PBvsDfcZ4qqJgn6BKHyvx/K21+dMM5r6rFkxFBQnEy/Jg==
  dependencies:
    lodash-es "^4.17.15"

"@ckeditor/ckeditor5-widget@^30.0.0":
  version "30.0.0"
  resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-widget/-/ckeditor5-widget-30.0.0.tgz#44f0e4dd0593a9d763d123e90ae59357db4dbb08"
  integrity sha512-bcY4qay/Ii4yt/c9gDwgzMLpIJc8pUmHPqNWHrh/CvfXP4i8RI3Tj4UpBkN57th4IM6qE4JoUFd8HWSvHJG5NA==
  dependencies:
    "@ckeditor/ckeditor5-core" "^30.0.0"
    "@ckeditor/ckeditor5-engine" "^30.0.0"
    "@ckeditor/ckeditor5-enter" "^30.0.0"
    "@ckeditor/ckeditor5-typing" "^30.0.0"
    "@ckeditor/ckeditor5-ui" "^30.0.0"
    "@ckeditor/ckeditor5-utils" "^30.0.0"
    lodash-es "^4.17.15"

I will leave this topic. Maybe someone find it useful in the future.

I am having the same issue here,
i have tried the above solution, and it didn’t work.

i am usin the strapi v4
here is the error logs.

[2022-03-12 12:55:44] ModuleNotFoundError: Module not found: Error: Can't resolve '@ckeditor/ckeditor5-react' in '/workspace/src/plugins/wysiwyg/admin/src/components/Editor'```

it’s problem because one of your plugins version old so in my case strapi-plugin-config-sync version old so i upgrade and then i tried it’s working

Use workspaces in packages.json:

"workspaces": [
    "./src/plugins/*"
  ],

That way when installing packages(yarn install) it will also install the packages from plugins.

4 Likes

in all packages?

I’m using docker to build and deploy to heroku

how to solve this problem within dockerfile in production?

My dockerfile

FROM node:14-alpine
# Installing libvips-dev for sharp Compatability
RUN apk update && apk add  build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
WORKDIR /opt/
COPY ./package.json ./
COPY ./yarn.lock ./
ENV PATH /opt/node_modules/.bin:$PATH
RUN yarn config set network-timeout 600000 -g
RUN yarn install
WORKDIR /opt/app
COPY ./ .
RUN yarn build