Could not resolve "@wiris/telemeter-wasm"
type:bug
Hi 👋
In PR #1085, the import path in `packages/devkit/src/telemeter.js` was changed from `../telemeter-wasm` to `@wiris/telemeter-wasm`. This update causes our build process using `esbuild` to fail because it cannot resolve `@wiris/telemeter-wasm`.
```text
✘ [ERROR] Could not resolve "@wiris/telemeter-wasm"
projects/ckeditor5/node_modules/@wiris/mathtype-html-integration-devkit/src/telemeter.js:1:49:
1 │ ... init, { Telemeter as TelemeterWASM } from "@wiris/telemeter-wasm";
╵ ~~~~~~~~~~~~~~~~~~~~~~~
```
The root cause appears to be that the package `@wiris/telemeter-wasm` is not available in either the root `node_modules` directory or under `@wiris/mathtype-html-integration-devkit/node_modules`. Instead, it's within a subdirectory of the `@wiris/mathtype-html-integration-devkit` package itself so esbuild can't find it.
We have downgraded `@wiris/mathtype-ckeditor5` to version `8.12.0` as a temporary fix:
```json
"@wiris/mathtype-ckeditor5": "8.12.0"
```
关闭于 2025-03-18 1 条评论