-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I had swift package --disable-sandbox vercel deploy --prod working (successfully deploying to Vercel) last week, but today I went to run the same deploy command and got the error below.
I think Docker was updated in the interim, but otherwise I can't think of what changed.
I tried (rather cluelessly):
- restarting Docker
- deleting the docker container (so subsequent command re-downloaded it)
- deleting the ./build folder
$ swift package --disable-sandbox vercel deploy --prod
-------------------------------------------------------------------------
Building product: "App"
-------------------------------------------------------------------------
/usr/local/bin/docker run --platform linux/x86_64 --rm -v /Users/ian/AppsDev/Experiments/VercelServerlessExperiment:/workspace -w /workspace swift:5.8-amazonlinux2 bash -cl swift build -c release -Xswiftc -Osize -Xlinker -S --product App --static-swift-stdlib --show-bin-path
error: Unexpected argument '/usr/bin/swift-build'
Usage: swift build <options>
See 'build -help' for more information.
error: /usr/local/bin/docker run --platform linux/x86_64 --rm -v /Users/ian/AppsDev/Experiments/VercelServerlessExperiment:/workspace -w /workspace swift:5.8-amazonlinux2 bash -cl swift build -c release -Xswiftc -Osize -Xlinker -S --product App --static-swift-stdlib --show-bin-path failed with code 64
Thanks for any pointers you might have :) great project!!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels