Skip to content

Building project with Docker gets stuck at transforming #3872

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

Open
GlitchDevX opened this issue Apr 12, 2025 · 0 comments
Open

Building project with Docker gets stuck at transforming #3872

GlitchDevX opened this issue Apr 12, 2025 · 0 comments
Labels
bug Something isn't working triage v3 #1289

Comments

@GlitchDevX
Copy link

Environment

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.16.2

Reproduction

https://github.com/GlitchDevX/nuxt-docker-build

GitHub Actions:
Working Example
Stuck Example

Description

I was trying to create a dockerfile being able to build the complete project without any extra commands to execute beforehand. To do that I tried using a node image as base of the builder part of my multipart dockerfile.

In the building process the npm ci command is executed correctly. However npm run generate or npm run build will get stuck at the transforming step.

I pinned the issue down to the tailwindcss import in the main.css as explained in the nuxt ui starter guide. As when this import is commented out the build will succeed without any issues.

I already tried using different node base images, but it didn't change anything.

Additional context

With tailwindcss import:

Image

Without tailwindcss import:

Image

I created a branch for the minimally changed version without the tailwind css for easier switching in the reproduction repo.

Logs

@GlitchDevX GlitchDevX added bug Something isn't working triage v3 #1289 labels Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage v3 #1289
Projects
None yet
Development

No branches or pull requests

1 participant