Alwe
Alwe
NNuxt
Created by Alwe on 11/29/2024 in #❓・help
postcss-import error: unknown word
I'm trying to use the Nuxt UI v3 in my Vue widget. But after migrating everything and running the project, I get this:
[vite] Internal server error: [postcss] postcss-import: /chat-widget/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_postcss@8_lxn532lth7hchnumafqdurobby/node_modules/@nuxt/ui/dist/module.mjs:1:16: Unknown word
Plugin: vite:css
File: /chat-widget/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_postcss@8_lxn532lth7hchnumafqdurobby/node_modules/@nuxt/ui/dist/module.mjs:1:15
1 | import defu, { defu as defu$1 } from 'defu';
| ^
2 | import { defineNuxtModule, createResolver, addVitePlugin, addPlugin, addComponentsDir, addImportsDir, extendPages, hasNuxtModule, installModule } from '@nuxt/kit';
3 | import { d as defaultOptions, r as resolveColors, a as getDefaultUiConfig, b as addTemplates, c as buildTemplates } from './shared/ui.d52SSCwA.mjs';
[vite] Pre-transform error: [postcss] postcss-import: /home/dany/Documenti/GitHub/chat-widget/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_postcss@8_lxn532lth7hchnumafqdurobby/node_modules/@nuxt/ui/dist/module.mjs:1:16: Unknown word
[vite] Internal server error: [postcss] postcss-import: /chat-widget/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_postcss@8_lxn532lth7hchnumafqdurobby/node_modules/@nuxt/ui/dist/module.mjs:1:16: Unknown word
Plugin: vite:css
File: /chat-widget/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_postcss@8_lxn532lth7hchnumafqdurobby/node_modules/@nuxt/ui/dist/module.mjs:1:15
1 | import defu, { defu as defu$1 } from 'defu';
| ^
2 | import { defineNuxtModule, createResolver, addVitePlugin, addPlugin, addComponentsDir, addImportsDir, extendPages, hasNuxtModule, installModule } from '@nuxt/kit';
3 | import { d as defaultOptions, r as resolveColors, a as getDefaultUiConfig, b as addTemplates, c as buildTemplates } from './shared/ui.d52SSCwA.mjs';
[vite] Pre-transform error: [postcss] postcss-import: /home/dany/Documenti/GitHub/chat-widget/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_postcss@8_lxn532lth7hchnumafqdurobby/node_modules/@nuxt/ui/dist/module.mjs:1:16: Unknown word
and I'm unable to fix it.
15 replies