Closed fasenderos closed 4 months ago
No response
In a newly created Nuxt.js project, running nuxt dev fails after adding @nuxtjs/tailwindcss to nuxt.config.ts. The error points to this line of code. https://github.com/nuxt-modules/tailwindcss/blob/a0d75998f1c12ea4fbb7cefefe0c90c1cdd99023/src/context.ts#L190
nuxt dev
@nuxtjs/tailwindcss
nuxt.config.ts
Here is my nuxt.config.ts
export default defineNuxtConfig({ devtools: { enabled: true }, modules: ['@nuxtjs/tailwindcss'], });
The project is a pnpm monorepo where all packages are inside the folder apps and @nuxtjs/tailwindcss has been installed with pnpm --filter=@project/nuxtjs -D -E @nuxtjs/tailwindcss
pnpm
apps
pnpm --filter=@project/nuxtjs -D -E @nuxtjs/tailwindcss
Can you test nightly 6.12.1-1719430546.7704e81 and confirm if it is solved?
6.12.1-1719430546.7704e81
Environment
Build Modules: -
Reproduction
No response
Describe the bug
In a newly created Nuxt.js project, running
nuxt dev
fails after adding@nuxtjs/tailwindcss
tonuxt.config.ts
. The error points to this line of code. https://github.com/nuxt-modules/tailwindcss/blob/a0d75998f1c12ea4fbb7cefefe0c90c1cdd99023/src/context.ts#L190Here is my
nuxt.config.ts
Additional context
The project is a
pnpm
monorepo where all packages are inside the folderapps
and@nuxtjs/tailwindcss
has been installed withpnpm --filter=@project/nuxtjs -D -E @nuxtjs/tailwindcss
Logs
No response