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

Stackblitz templates console errors Nuxt + Tailwind CSS 4.0 #3290

Open
bushido2014 opened this issue Feb 28, 2025 · 0 comments
Open

Stackblitz templates console errors Nuxt + Tailwind CSS 4.0 #3290

bushido2014 opened this issue Feb 28, 2025 · 0 comments

Comments

@bushido2014
Copy link

Describe the bug
After setting up Tailwind CSS in a Nuxt project following the official documentation, running npm run dev results in a console error:

Uncaught (in promise) Error: Unhandled Promise Rejection: Could not find
source file: 'stackblitz:/.nuxt/app.config.mjs'

This issue occurs specifically in StackBlitz templates and prevents the application from running properly. It seems like StackBlitz is unable to resolve the .nuxt/app.config.mjs file.

Link to the blitz that caused the error
https://stackblitz.com/edit/nuxt-starter-hjls5dsk?file=app.vue,assets%2Fcss%2Fmain.css,nuxt.config.ts

Steps to reproduce
Create a new Nuxt project in StackBlitz.
Install Tailwind CSS following the official Nuxt documentation.
Run npm run dev.
Check the browser console for errors.
Expected behavior
The project should start without errors, and Tailwind CSS should be properly integrated.

Image

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

No branches or pull requests

1 participant