WindmillWWindmill
Powered by
markoM
Windmill•2y ago•
62 replies
marko

Bun cache missing windmill-client

One of my flows started suddenly failing with the following error:
job=0190e46d-49f3-598f-e238-e13b0d595088 tag=bun worker=wk-default-eb4f47c94407-YMYN2 hostname=eb4f47c94407

skipping install, using cached buntar based on lockfile hash: xb6AgX-a-bSr6dsMtfSbyDy0oxGu0XSg7uiNtNx4HTs=

--- BUN CODE EXECUTION ---

error: Cannot find package "windmill-client" from "/tmp/windmill/wk-default-eb4f47c94407-YMYN2/0190e46d-49f3-598f-e238-e13b0d595088/main.ts"
Bun v1.1.18 (Linux x64 baseline)
job=0190e46d-49f3-598f-e238-e13b0d595088 tag=bun worker=wk-default-eb4f47c94407-YMYN2 hostname=eb4f47c94407

skipping install, using cached buntar based on lockfile hash: xb6AgX-a-bSr6dsMtfSbyDy0oxGu0XSg7uiNtNx4HTs=

--- BUN CODE EXECUTION ---

error: Cannot find package "windmill-client" from "/tmp/windmill/wk-default-eb4f47c94407-YMYN2/0190e46d-49f3-598f-e238-e13b0d595088/main.ts"
Bun v1.1.18 (Linux x64 baseline)


If I test the node, it works fine. It only fails when I run the deployed flow. It looks like it's just a caching issue, but I can't find any functionality in Windmill that would allow me to wipe the build cache.

I did try to create a whole new node where I copy/pasted the code, but the problem persists.

Any ideas?
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

Next page

Similar Threads

windmill cache vs redis
BravoBBravo / help
16mo ago
Telling Windmill to use `deno` runtime not `bun`
jakeoidJjakeoid / help
2y ago
what's a windmill server, and what's a windmill client ?
DonaldDDonald / help
15mo ago
Error while executing Bun script: missing sourcemaps
invakid404Iinvakid404 / help
2y ago