Closed kodelio closed 6 months ago
Issue is apparently caused by having a glob package version > 10
This package normally ships with glob version 8. Version 9 of glob includes a big rewrite and only offers support for Node 16 and higher, while umzug v3 supports Node 12 and higher.
Do you not have glob v8 installed?
@WikiRik we have glob 10.3.10 installed (because required by other packages)
Did you override glob to only install 10.3.10? Because it's a defined dependency for umzug it should normally also install glob v8
@kodelio could you share your setup - which package manager are you using? npm, yarn, pnpm, bun? As well as which version + are you using any overrides, .pnpmfile.cjs
etc.?
And/or if you can share your whole package.json that'd be even better. It doesn't sound like a bug in umzug, but maybe we can help.
Issue has been fixed by adding glob 10.3.10 in the package.json, thank you
Hello,
I'm trying to run migrations, and while locally I have no error, I get this error on the deployment server :
Here's my code :
migrate.ts
umzug-wrapper.ts
I cannot find what is throwing this error