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:
I tried wiping everything under
/tmp/windmill/cache/bun
and /tmp/windmill/cache_nomount/bun{,tar}
and redeploying the script, but I still get the same error.7 Replies
Currently running CE v1.375.0-9-gb9b30e66e
use //nobundling at the top
it has nothing to do with sourcemaps
we just use pre-bundling now which in some cases fail
which you can disable with //nobundling
oh, I see
this did indeed fix it
it does appear to be working just fine in some cases, not sure what's "special" about this particular script
it's a bun bundler issue, if you isolate it, please report it to bun project and windmill will eventually pick up the fix
yeah, figured
unfortunately, it's a script that does quite a lot and has a lot of dependencies, so it'd be tough to pinpoint exactly what's causing it
the more it does, the more you will benefit from bundling
š
I'll spend some time with it later to try and figure out what goes wrong
nobundling will do for now
thanks!