Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sst cli doesn't run on readonly linux distros like nixOS #1127

Open
vincent-thomas opened this issue Sep 23, 2024 · 1 comment
Open

sst cli doesn't run on readonly linux distros like nixOS #1127

vincent-thomas opened this issue Sep 23, 2024 · 1 comment
Assignees

Comments

@vincent-thomas
Copy link

$ pnpm sst deploy --stage dev --print-logs
time=2024-09-23T18:11:47.901+02:00 level=INFO msg="checking for pulumi" path=/home/vt/.config/sst/bin/pulumi
time=2024-09-23T18:11:48.002+02:00 level=INFO msg="checking for bun" path=/home/vt/.config/sst/bin/bun
time=2024-09-23T18:11:48.003+02:00 level=INFO msg="bun install"
time=2024-09-23T18:11:48.003+02:00 level=INFO msg="bun downloading" url=https://github.com/oven-sh/bun/releases//download/bun-v1.1.29/bun-linux-x64-baseline.zip
time=2024-09-23T18:11:52.192+02:00 level=INFO msg="initializing project" version=3.1.35
time=2024-09-23T18:11:52.192+02:00 level=INFO msg="esbuild building" out=/home/vt/personal/trustpass-web/.sst/platform/sst.config.1727107912192.mjs
time=2024-09-23T18:11:52.195+02:00 level=INFO msg="esbuild built" outfile=/home/vt/personal/trustpass-web/.sst/platform/sst.config.1727107912192.mjs
time=2024-09-23T18:11:52.225+02:00 level=INFO msg="evaluating config"
time=2024-09-23T18:11:52.249+02:00 level=INFO msg="config evaluated"
time=2024-09-23T18:11:52.250+02:00 level=INFO msg="checking platform"
time=2024-09-23T18:11:52.250+02:00 level=INFO msg="installing deps"
⠋  Installing providers...time=2024-09-23T18:11:52.250+02:00 level=INFO msg="getting package" name=@sst-provider/aws version=latest
⠼  Installing providers...time=2024-09-23T18:11:52.692+02:00 level=INFO msg="getting package" name=@pulumi/aws version=latest
⠦  Installing providers...time=2024-09-23T18:11:52.939+02:00 level=INFO msg="writing package.json"
time=2024-09-23T18:11:52.939+02:00 level=INFO msg="adding dependency" name=aws
time=2024-09-23T18:11:52.939+02:00 level=INFO msg="fetching deps"
time=2024-09-23T18:11:52.939+02:00 level=ERROR msg="exited with error" err="failed to run bun install Could not start dynamically linked executable: /home/vt/.config/sst/bin/bun\nNixOS cannot run dynamically linked executables intended for generic\nlinux environments out of the box. For more information, see:\nhttps://nix.dev/permalink/stub-ld\n"
✕  Could not install dependencies

$ bun --version
1.1.27
Copy link
Contributor

thdxr commented Sep 24, 2024

can you update to latest and run with NO_BUN

@thdxr thdxr self-assigned this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants