custom install command

the default command bun install --frozen-lockfile throw errors:
❯ bun install
[0.03ms] ".env.local"
bun install v1.0.15 (b3bdf22e)
+ @svelte-dev/auth@workspace:packages/auth
+ @svelte-dev/auth-afdian@workspace:packages/auth-afdian
+ @svelte-dev/auth-github@workspace:packages/auth-github
+ @svelte-dev/auth-oauth2@workspace:packages/auth-oauth2
+ @svelte-dev/auth-sso@workspace:packages/auth-sso
+ @svelte-dev/session@workspace:packages/session
+ web@workspace:apps/web
+ @svelte-dev/eslint-config@workspace:packages/eslint-config
husky - Git hooks installed

8 packages installed [10.62s]
❯ bun install --frozen-lockfile
[0.03ms] ".env.local"
bun install v1.0.15 (b3bdf22e)
error: lockfile had changes, but lockfile is frozen
❯ bun install
[0.03ms] ".env.local"
bun install v1.0.15 (b3bdf22e)
+ @svelte-dev/auth@workspace:packages/auth
+ @svelte-dev/auth-afdian@workspace:packages/auth-afdian
+ @svelte-dev/auth-github@workspace:packages/auth-github
+ @svelte-dev/auth-oauth2@workspace:packages/auth-oauth2
+ @svelte-dev/auth-sso@workspace:packages/auth-sso
+ @svelte-dev/session@workspace:packages/session
+ web@workspace:apps/web
+ @svelte-dev/eslint-config@workspace:packages/eslint-config
husky - Git hooks installed

8 packages installed [10.62s]
❯ bun install --frozen-lockfile
[0.03ms] ".env.local"
bun install v1.0.15 (b3bdf22e)
error: lockfile had changes, but lockfile is frozen
4 Replies
Hello, I’m Allie!
Afaik, that means that bun believes your lockfile doesn’t match your package.json. Try running a clean install locally, then pushing
willin
willin10mo ago
still the same..., perhaps because i'm using turborepo to manage mono repos.
Hello, I’m Allie!
It shouldn’t? If you aren’t already, try setting Pages to clone the entire monorepo, install from there, then cd into your Pages project
willin
willin10mo ago
No description
Want results from more Discord servers?
Add your server