elysia-logging icon indicating copy to clipboard operation
elysia-logging copied to clipboard

Error running conflicted with date-fns package verison

Open caturbgs opened this issue 9 months ago • 1 comments

I think if you have [email protected] latest it will conflict and cant running the app with these error message

error: Cannot find module 'date-fns/_lib/toInteger/index.js' from '/app/node_modules/date-fns-tz/esm/toDate/index.js'

Bun v1.2.2 (Linux arm64)
error: Cannot find module 'date-fns/format/index.js' from '/app/node_modules/date-fns-tz/esm/format/index.js'

Bun v1.2.2 (Linux arm64)
error: Cannot find module 'date-fns/_lib/cloneObject/index.js' from '/app/node_modules/date-fns-tz/esm/zonedTimeToUtc/index.js'

Bun v1.2.2 (Linux arm64)
error: Cannot find module 'date-fns/_lib/cloneObject/index.js' from '/app/node_modules/date-fns-tz/esm/formatInTimeZone/index.js'

is there any chance to short term fixing this?

caturbgs avatar Feb 18 '25 04:02 caturbgs

I'm aware that this is currently broken. I would need some help getting it to work with the latest version of Elysia! Happy to accept PRs :)

otherguy avatar Feb 18 '25 11:02 otherguy