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

Build error: Rollup failed to resolve import "quill" #76

Open
molul opened this issue Sep 5, 2024 · 1 comment
Open

Build error: Rollup failed to resolve import "quill" #76

molul opened this issue Sep 5, 2024 · 1 comment

Comments

@molul
Copy link

molul commented Sep 5, 2024

Hi. I'm using the latest Nuxt, PrimeVue 4 and primevue-nuxt-module versions as of today and I'm having this error message when building my project either locally or in Vercel:

([error] Nuxt Build Error: [vite]: Rollup failed to resolve import "quill" from "/vercel/path0/node_modules/primevue/editor/index.mjs".)

This is my primevue config in nuxt.config.ts (the workaround mentioned here didn't work):

primevue: {
    options: {
      locale: primevueLocaleOptions,
      ripple: false,
      unstyled: true,
      theme: {
        options: {
          cssLayer: {
            name: 'primevue'
          }
        }
      }
    },

    importPT: {
      from: path.resolve(__dirname, './assets/primevuePresets/main/')
    },

    autoImport: false,
    components: {
      include: '*',
      exclude: ['Editor', 'Chart']
    }
  },

Any help is greatly appreciated :)

@molul
Copy link
Author

molul commented Sep 5, 2024

Nevermid. I just installed quill, as I might use it somewhere.

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