Comments (7)
Do you know the versions of the package?
npm why ckeditor5-math
npm why ckeditor5
Does the CKEditor5 version match the CKEditor5-math one?
from ckeditor5-math.
Yeah, I'm using version 36
for both.
[email protected] dev
node_modules/ckeditor5
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-autoformat
dev @ckeditor/ckeditor5-autoformat@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-basic-styles
dev @ckeditor/ckeditor5-basic-styles@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-block-quote
dev @ckeditor/ckeditor5-block-quote@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-alignment
dev @ckeditor/ckeditor5-alignment@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-editor-inline
dev @ckeditor/ckeditor5-editor-inline@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-code-block
dev @ckeditor/ckeditor5-code-block@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-essentials
dev @ckeditor/ckeditor5-essentials@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-font
dev @ckeditor/ckeditor5-font@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-heading
dev @ckeditor/ckeditor5-heading@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-horizontal-line
dev @ckeditor/ckeditor5-horizontal-line@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-indent
dev @ckeditor/ckeditor5-indent@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-html-support
dev @ckeditor/ckeditor5-html-support@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-link
dev @ckeditor/ckeditor5-link@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-image
dev @ckeditor/ckeditor5-image@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-list
dev @ckeditor/ckeditor5-list@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-markdown-gfm
dev @ckeditor/ckeditor5-markdown-gfm@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-media-embed
dev @ckeditor/ckeditor5-media-embed@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-mention
dev @ckeditor/ckeditor5-mention@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-paste-from-office
dev @ckeditor/ckeditor5-paste-from-office@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-remove-format
dev @ckeditor/ckeditor5-remove-format@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-table
dev @ckeditor/ckeditor5-table@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @ckeditor/[email protected]
node_modules/@ckeditor/ckeditor5-special-characters
dev @ckeditor/ckeditor5-special-characters@"^36.0.0" from the root project
ckeditor5@"^36.0.1" from @isaul32/[email protected]
node_modules/@isaul32/ckeditor5-math
dev @isaul32/ckeditor5-math@"^36.0.0" from the root project
This is my packages.json
{
"name": "ckeditor5-custom-build",
"author": "CKSource",
"description": "A custom CKEditor 5 build made by the CKEditor 5 online builder.",
"version": "0.1.8",
"license": "SEE LICENSE IN LICENSE.md",
"private": true,
"main": "./build/ckeditor.js",
"devDependencies": {
"@ckeditor/ckeditor5-alignment": "^36.0.0",
"@ckeditor/ckeditor5-autoformat": "^36.0.0",
"@ckeditor/ckeditor5-basic-styles": "^36.0.0",
"@ckeditor/ckeditor5-block-quote": "^36.0.0",
"@ckeditor/ckeditor5-code-block": "^36.0.0",
"@ckeditor/ckeditor5-dev-translations": "^32.1.2",
"@ckeditor/ckeditor5-dev-utils": "^32.1.2",
"@ckeditor/ckeditor5-editor-inline": "^36.0.0",
"@ckeditor/ckeditor5-essentials": "^36.0.0",
"@ckeditor/ckeditor5-font": "^36.0.0",
"@ckeditor/ckeditor5-heading": "^36.0.0",
"@ckeditor/ckeditor5-horizontal-line": "^36.0.0",
"@ckeditor/ckeditor5-html-support": "^36.0.0",
"@ckeditor/ckeditor5-image": "^36.0.0",
"@ckeditor/ckeditor5-indent": "^36.0.0",
"@ckeditor/ckeditor5-link": "^36.0.0",
"@ckeditor/ckeditor5-list": "^36.0.0",
"@ckeditor/ckeditor5-markdown-gfm": "^36.0.0",
"@ckeditor/ckeditor5-media-embed": "^36.0.0",
"@ckeditor/ckeditor5-mention": "^36.0.0",
"@ckeditor/ckeditor5-paragraph": "^36.0.0",
"@ckeditor/ckeditor5-paste-from-office": "^36.0.0",
"@ckeditor/ckeditor5-remove-format": "^36.0.0",
"@ckeditor/ckeditor5-special-characters": "^36.0.0",
"@ckeditor/ckeditor5-table": "^36.0.0",
"@ckeditor/ckeditor5-theme-lark": "^36.0.0",
"@ckeditor/ckeditor5-upload": "^36.0.0",
"@isaul32/ckeditor5-math": file:packages/ckeditor5-math,
"css-loader": "^5.2.7",
"postcss": "^8.4.20",
"postcss-loader": "^4.3.0",
"raw-loader": "^4.0.2",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^4.2.3",
"webpack": "^5.58.1",
"webpack-cli": "^4.10.0"
},
"scripts": {
"build": "webpack --mode production"
},
"dependencies": {
"i": "^0.3.7",
"mini-css-extract-plugin": "^2.7.2",
"npm": "^10.1.0"
}
}
from ckeditor5-math.
I can't diagnose remotely or fix the problem for you, but some troubleshooting:
I'm a bit confused by this (in your package.json):
"@isaul32/ckeditor5-math": file:packages/ckeditor5-math,
Is there something different about your setup?
Judging by the error, it's not mentioning ckeditor duplicated modules (which would only show on runtime). But having package versions match is still important of course.
- The latest ckeditor5-math release for CKEditor v36.0.1 is https://github.com/isaul32/ckeditor5-math/tree/v36.0.7
- The current ckeditor5-math release is 40.1.0 (for CKEditor 40.1.0)
from ckeditor5-math.
I'm using a custom build of CKEditor 36.0.1 on a project written in Vue3 and Vite. Since CKEditor didn't support Vite, I cloned it and built it with Webpack. Then, I used the new package in my Vite project locally like this:
"ckeditor5-custom-build": "file:packages/custom-editor-build"
I was using ckeditor5-math without any problem, but since it doesn't have a manual for syntax, I cloned version 36.0.7 and made a small change (added a Katex supported functions page link), then used it in the CKEditor:
"@isaul32/ckeditor5-math": "file:../ckeditor5-math"
When I build both ckeditor5-math and CKEditor separately, I don't get any errors. However, when I build my main project, it returns the above error. At first, I thought the problem was related to my changes in ckeditor5-math, but I'm also getting the same error while building the original cloned version of ckeditor5-math. It only happens when I use the locally cloned version to build!
it happens when my final build runs the dll:build
of the ckeditor5-math
.
So, I'm not sure what the problem is. I've spent a day trying to fix it but haven't had any luck!
from ckeditor5-math.
This seems more like general tech support to me and repeat I can't fix the problem for you.
Here is what I would do:
-
node --version
-
I see you are using
npm
. I advise usingyarn
classic (v1)CKEditor's documentation used to recommend
yarn
due to issues withnpm
, but I can't find where (maybe they removed it) -
Consider switching out
file:
with the real package versions to see if the root cause isfile:
hookups and how that impacts the build system. -
Updating CKEditor to the latest (40.1.0)
That way you can also enjoy ckeditor5-math's updates, such as v38.1.0 which updates ckeditor5-package-tools.
from ckeditor5-math.
Related Issues (20)
- TypeScript compilation errors with CKEditor 37.1.0 HOT 6
- Duplicated modules HOT 1
- Support for math ml
- Publish latest versions in npm HOT 4
- option for localization and custom popup
- renderEquation is receiving wrongs params from package itself HOT 2
- Move to `ckeditor5-package-tools`
- Support v32.0.0 HOT 1
- Question: Use with Custom-Build CKEditor5 HOT 3
- Formula disappears when it is the only element in the CKEditor and is saved. HOT 1
- Allow passing render options for KaTeX HOT 1
- Duplicate packages when installed into CKEditor v35.1 HOT 7
- If integrate mathlive, it will be perfect.
- Support for Markdown Output HOT 3
- Make span element className configurable
- Make a Build HOT 1
- NPM access HOT 5
- Add a default `className`
- Convert to TypeScript HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckeditor5-math.