sst / ion

❍ — a new engine for SST
https://ion.sst.dev
MIT License
1.12k stars 136 forks source link

Dependency error on deploy #307

Closed jamestenglish closed 2 months ago

jamestenglish commented 2 months ago

When trying to run sst deploy with verbose logging I am receiving these errors:

level=INFO msg="esbuild building"
level=ERROR msg="esbuild error" text="Could not resolve \"path-to-regexp\"" location.file=.sst/platform/src/components/cloudflare/remix.ts location.line=3 column=29
level=ERROR msg="esbuild error" text="Could not resolve \"@pulumiverse/vercel\"" location.file=.sst/platform/src/components/vercel/dns.ts location.line=34 column=24
|  Error       .sst/platform/src/components/cloudflare/remix.ts:3:29: Could not resolve "path-to-regexp"
.sst/platform/src/components/vercel/dns.ts:34:24: Could not resolve "@pulumiverse/vercel"

level=ERROR msg="exited with error" err=".sst/platform/src/components/cloudflare/remix.ts:3:29: Could not resolve \"path-to-regexp\"\n.sst/platform/src/components/vercel/dns.ts:34:24: Could not resolve \"@pulumiverse/vercel\""
×  Unexpected error occurred. Please check the logs or run with --verbose for more details.
thdxr commented 2 months ago

can you try deleting your .sst folder and see if that helps?

jamestenglish commented 2 months ago

I'm so dumb. Shockingly, trying to run this in a directory that has a : in the name does all sorts of horrible things to your linux path!

Works great once I stop being dumb, thanks.