You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using pnpm to install packages, the glob dependency of fs-routes is resolved to 9.2.1. Which leads to the following error when calling initialize.
TypeError: glob.sync is not a function
at fsRoutes (/Users/joseporto/projects/nubisco/api/node_modules/.pnpm/[email protected][email protected]/node_modules/fs-routes/index.ts:54:8)
By using a .pnpmfile.cjs and enforcing the [email protected], which is the version resolved by yarn, everything works well.
fs-routes clearly has an incompatibility with glob@9 due to missing glob.sync method. But checking fs-routes package.json file the dependency is declared as:
"peerDependencies": {
"glob": ">=7.1.6"
}
The text was updated successfully, but these errors were encountered:
When using pnpm to install packages, the
glob
dependency offs-routes
is resolved to 9.2.1. Which leads to the following error when callinginitialize
.By using a .pnpmfile.cjs and enforcing the
[email protected]
, which is the version resolved byyarn
, everything works well.fs-routes
clearly has an incompatibility withglob@9
due to missing glob.sync method. But checking fs-routes package.json file the dependency is declared as:The text was updated successfully, but these errors were encountered: