Does anyone have any suggestions for when something in a monorepo fails on bun but works on node, more specifically when an error happen in an dependency of a dependency?
┌ api#dev > cache miss, executing 229e22d89c2de972
│ $ bun --watch run .
│ 1 | 'use strict'
│ 2 |
│ 3 | const { LRUCache } = require('lru-cache')
│ 4 |
│ 5 | const MEMOIZED = new LRUCache({
│ ^
│ TypeError: undefined is not a constructor (evaluating 'new LRUCache({
│ max: 500,
│ maxSize: 52428800,
│ ttl: 180000,
│ sizeCalculation: (entry, key) => key.startsWith("key:") ? entry.data.length : entry.length
│ })')
│ at /Users/net-tech-/Developer/kiai/packages/database/node_modules/cacache/lib/memoization.js:5:18
│ at /Users/net-tech-/Developer/kiai/packages/database/node_modules/cacache/lib/get.js:8:7
│ at /Users/net-tech-/Developer/kiai/packages/database/node_modules/cacache/lib/index.js:3:7
│ at /Users/net-tech-/Developer/kiai/packages/database/node_modules/make-fetch-happen/lib/cache/entry.js
│ :4:7
│ at /Users/net-tech-/Developer/kiai/packages/database/node_modules/make-fetch-happen/lib/cache/index.js
│ :2:7