-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
error - Can not resolve dependence : 'ckeditor5/ckeditor5.css', please install it #16752
Comments
Hi @ThanhLong070. Which bundler are you using? We have already received reports of this not working in Vite 2 and Vite 3 (#16638) and have found a possible solution. If you are using one of these bundlers, you can update to Vite 4 or 5 or wait for our hotfix. |
I'm using umijs, not vite |
This is the first I've heard of it, but it seems to use Vite under the hood. Are you using the latest version of umijs? The latest versions seem to use Vite 4.5.2, which can handle this CSS import. |
This problem has been fixed in |
Base on https://ckeditor.com/ckeditor-5/builder/
get error:
error - Can not resolve dependence : 'ckeditor5/ckeditor5.css', please install it
error - AssertionError [ERR_ASSERTION]: dependence not found: ckeditor5/ckeditor5.css
at Dep.buildExposeContent (/Users/longnguyen/Documents/work/mine/hola/hola-bo/node_modules/@umijs/mfsu/dist/dep/dep.js:90:31)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async DepBuilder.writeMFFiles (/Users/longnguyen/Documents/work/mine/hola/hola-bo/node_modules/@umijs/mfsu/dist/depBuilder/depBuilder.js:159:23)
at async DepBuilder.build (/Users/longnguyen/Documents/work/mine/hola/hola-bo/node_modules/@umijs/mfsu/dist/depBuilder/depBuilder.js:137:7)
at async MFSU.buildDeps (/Users/longnguyen/Documents/work/mine/hola/hola-bo/node_modules/@umijs/mfsu/dist/mfsu/mfsu.js:227:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: null,
expected: true,
operator: '=='
The text was updated successfully, but these errors were encountered: