Open bkammer opened 10 months ago
Same Issue here, any update?
Using bun to setting up, regardlich which way, always results in:
[+] Running 1/0
✔ Container baka-stream-nuxt-app Created 0.0s
Attaching to baka-stream-nuxt-app
baka-stream-nuxt-app | [0.07ms] ".env"
baka-stream-nuxt-app | bun install v1.0.32 (5fec71bd)
baka-stream-nuxt-app | Resolving dependencies
baka-stream-nuxt-app | Resolved, downloaded and extracted [1]
baka-stream-nuxt-app |
baka-stream-nuxt-app | ERROR ResolveMessage {}
baka-stream-nuxt-app |
baka-stream-nuxt-app |
baka-stream-nuxt-app |
baka-stream-nuxt-app | ERROR Cannot find module "./server/services" from "/app/index.js"
baka-stream-nuxt-app |
baka-stream-nuxt-app |
baka-stream-nuxt-app | error: postinstall script from "-���c4�3" exited with 1
baka-stream-nuxt-app exited with code 0
This worked for me at some point. I think this is a bun version problem. I will try to downgrade bun or @nuxtjs/supabase.
I downgraded to 1.0.7 and got:
ERROR undefined is not an object (evaluating 'report.getReport') 8:13:54 PM
at isMusl (/home/bschwab/projects/nuxt-monorepo/node_modules/nitropack/node_modules/rollup/dist/native.js:6:6)
at getPackageBase (/home/bschwab/projects/nuxt-monorepo/node_modules/nitropack/node_modules/rollup/dist/native.js:60:18)
at <anonymous> (/home/bschwab/projects/nuxt-monorepo/node_modules/nitropack/node_modules/rollup/dist/native.js:36:5)
at global code (/home/bschwab/projects/nuxt-monorepo/node_modules/nitropack/node_modules/rollup/dist/native.js:70:8)
at processTicksAndRejections (:61:39)
Upgrade to:
bun version 1.1.8
by running the command bun upgrade
nuxt version 3.11.2
@nuxtjs/supabase version to 1.2.2
I have this error with Bun 1.30.0 when Im building my Dockerfile with image oven/bun:1
, locally im running this image as base mcr.microsoft.com/devcontainers/javascript-node:1-20-bullseye
so when I switched the base image in my Dockerfile to node, the Bun error disappears and all works as expected.
Version
@nuxtjs/supabase: "^1.1.5", nuxt: "^3.9.1"
Steps to reproduce
Follow get started guide with bun: http://supabase.nuxtjs.org/get-started
What is Expected?
Successful installation.
What is actually happening?
When running:
bun run dev -o
Idea to solve the issue:
But then:
If I use npm instead of bun everything works fine.