Skip to content
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

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

Open
erdidoqan opened this issue Dec 9, 2023 · 1 comment

Comments

@erdidoqan
Copy link

21:58:00.408 ERROR in ./node_modules/markdown-it/lib/common/utils.mjs 179:9-18
21:58:00.408 Can't import the named export 'P' from non EcmaScript module (only default export is available)
21:58:00.409 @ ./node_modules/markdown-it/lib/index.mjs
21:58:00.409 @ ./node_modules/markdown-it/index.mjs
21:58:00.409 @ ./node_modules/.cache/nuxt/markdownit.js
21:58:00.409 @ ./node_modules/.cache/nuxt/index.js
21:58:00.409 @ ./node_modules/.cache/nuxt/client.js
21:58:00.409 @ multi ./node_modules/@nuxt/components/lib/installComponents.js ./node_modules/.cache/nuxt/client.js

I started getting such an error due to the Markdownit update. How can I solve this problem

@speker2010
Copy link

Workaround: install old version of markdown-it as dependency, 8.3.1 in my case
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants