Closed TuKun33 closed 2 months ago
which version are you using?
fixed, please update to the latest version with yarn add mui-tiptap-editor@latest
fixed, please update to the latest version with
yarn add mui-tiptap-editor@latest
Thanks! I have updated the latest version 0.3.2, but it still has the same error, which seems to be similar to this issue
can you please provide your environment?
Node
version
npm
or yarn
version
mui
version
can you please provide your environment?
Node
versionnpm
oryarn
versionmui
version
Node v20.12.2 npm v10.5.0 mui v5.10.5
It's a typescript issue, The import should have an extension.
import x from "./mymodule"
should be
import x from "./mymodule.js"
There are well known debates in related issues requests opened for the tsc team on GitHub #27481 and #11901, but with no resolutions.
So as for now my solution is using this lib: ts-add-js-extension.
So upgrade to the latest mui-tiptap-editor
version would fix the issue