WindmillWWindmill
Powered by
invakid404I
Windmill•2y ago•
16 replies
invakid404

Error while executing Bun script: missing sourcemaps

After updating to the latest Windmill Docker image, I started getting this error when running a specific Bun script:

ExecutionErr: ExitCode: 1, last log lines:
m5
      at /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js:26:48
      at /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js:234731:17
note: missing sourcemaps for /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js
note: consider bundling with '--sourcemap' to get unminified traces

Bun v1.1.21 (Linux x64 baseline)
ExecutionErr: ExitCode: 1, last log lines:
m5
      at /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js:26:48
      at /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js:234731:17
note: missing sourcemaps for /tmp/windmill/wk-default-e82d921f019408-gz0Ub/01912813-eac2-7505-9c68-52de62e903ee/main.js
note: consider bundling with '--sourcemap' to get unminified traces

Bun v1.1.21 (Linux x64 baseline)


I tried wiping everything under
/tmp/windmill/cache/bun
/tmp/windmill/cache/bun
and
/tmp/windmill/cache_nomount/bun{,tar}
/tmp/windmill/cache_nomount/bun{,tar}
and redeploying the script, but I still get the same error.
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Bun shell script best practices?
ZachZZach / help
10mo ago
Error executing flow
antonioalvesAantonioalves / help
3y ago
Error when calling a bun script using `wmill.runScript`
httpteapotHhttpteapot / help
2y ago
Bun cache missing windmill-client
markoMmarko / help
2y ago