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

Nuxt 3 (no SSR)+ Vite not working - Cannot read properties of undefined (reading 'prototype') #244

Open
kr1ke opened this issue Mar 26, 2024 · 0 comments

Comments

@kr1ke
Copy link

kr1ke commented Mar 26, 2024

Cannot read properties of undefined (reading 'prototype')

at http://localhost:3000/_nuxt/node_modules/.cache/vite/client/deps/html-to-docx_dist_html-to-docx__esm__js.js?v=f510fc28:4818:78

In my component:
import HTMLtoDOCX from 'html-to-docx/dist/html-to-docx.esm.js
image

in Nuxt 2, this code worked

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

1 participant