markdown-it icon indicating copy to clipboard operation
markdown-it copied to clipboard

vue-cli cannot run

Open liliukuan opened this issue 9 months ago • 2 comments

Can't import the named export 'format' from non EcmaScript module (only default export is available)

error in ./node_modules/markdown-it/lib/index.mjs

Can't import the named export 'parse' from non EcmaScript module (only default export is available)

error in ./node_modules/markdown-it/lib/index.mjs

Can't import the named export 'parse' from non EcmaScript module (only default export is available)

error in ./node_modules/markdown-it/lib/common/utils.mjs

Can't import the named export 'parse' from non EcmaScript module (only default export is available)

liliukuan avatar Mar 14 '25 11:03 liliukuan

hello, did you solve the problem?

zy-zhiyuan avatar Apr 02 '25 06:04 zy-zhiyuan

hello, did you solve the problem?

在另一个项目里使用,没报错。这个项目一直报错,然后我就在index.html中全局引入,然后 window.markdownit();

liliukuan avatar Apr 09 '25 01:04 liliukuan

vue does not seems to be related to this package.

puzrin avatar Sep 10 '25 16:09 puzrin