You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Without tailwindcss import:
I created a branch for the minimally changed version without the tailwind css for easier switching in the reproduction repo.
Logs
The text was updated successfully, but these errors were encountered:
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. Howevernpm run generate
ornpm 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:
Without tailwindcss import:
I created a branch for the minimally changed version without the tailwind css for easier switching in the reproduction repo.
Logs
The text was updated successfully, but these errors were encountered: