Skip to content
Back

Issue running a bun function

  • 0
  • Cloud
Marios
25 Apr, 2026, 05:59

I am getting this error message when trying to execute my bun function:

TypeScript
Failed to load module: BuildMessage: EISDIR reading "/root/.bun/install/cache/bignumber.js@9.3.1@@@1agent@1.7.2@@@1/bignumber.js"

I am using Bun 1.3 runtime, deployed to cloud, with no other significant issue like a failed build or similar. Any ideas what could be going wrong?

TL;DR
Developers encountering error "Failed to load module: BuildMessage: EISDIR reading "/root/.bun/install/cache/bignumber.js@9.3.1@@@1agent@1.7.2@@@1/bignumber.js"" when running a bun function running Bun 1.3 runtime in the cloud. This issue might be caused due to a corrupted cache file. The solution is to clear the cache for bun and try running the bun function again.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more