Locally on wsl (PRETTY_NAME="Debian GNU/Linux 12 (bookworm)") run: bunx nuxi init my-nuxt-app (with bun 1.1.0+5903a6141) to generate a clean Nuxt app (according to https://bun.sh/guides/ecosystem/nuxt)
Rsync to remote vm (also PRETTY_NAME="Debian GNU/Linux 12 (bookworm)")
Remove node_modules folder (in the remote)
Add the folder of the project as a mapped volume (so, not copying it into the docker, just mapping it from the host) in docker-compose.yml:
What steps can reproduce the bug?
Locally on wsl (
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
) run:bunx nuxi init my-nuxt-app
(with bun1.1.0+5903a6141
) to generate a clean Nuxt app (according to https://bun.sh/guides/ecosystem/nuxt)Rsync to remote vm (also
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
)Remove node_modules folder (in the remote)
Add the folder of the project as a mapped volume (so, not copying it into the docker, just mapping it from the host) in docker-compose.yml:
Either from entrypoint or from inside the docker in the workdir /app:
bun --revision && bun install && bun dev
NB: error occurs on bun install.Result:
Running bun install and bun dev locally on wsl works.
A more detailed description of the issue can be found here: https://github.com/oven-sh/bun/issues/9924
I am unsure where the problem lies, if with bun or with vue-demi, so I have cross-posted.