Nuxt 3.13 clean yarn install fails.
Package manager selection
Fails with
Equivalent npm install is working.
Instructions found here. https://nuxt.com/docs/getting-started/installation
Is yarn use viable or risky?
interestingly this works.
2 Replies
this is old and noboyd answered, but I would never want to docker npm init anything.
I'd rather once set up the nuxt application and then make most of its folder (excep node_modules and .nuxt) part of the docker container via 'volumes' parameter
nevertheless, that's the least of the issues when trying to run a docker container for nuxt. I've seen so many pre-set examples for React or any other technologies, but none for nuxt
It's a common CICD pipeline tactic to have a multipart docker container where you build in a clean environment as the first stage of a docker build, then use the artifacts from that build in another container built as part of the same docker file.
In this instance I used docker so the Dev can see and test in the clean node:22-bookworm example.