V1.4.4 package issues
Closed this issue · 2 comments
Hi,
While upgrading to package version 1.4.4 i've run into the following issues
- Using github
- Run fr-config-push all-static
node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module 'yargs'
Require stack: - /home/runner/work/fr-config-manager/packages/fr-config-push/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object. (/home/runner/work/fr-config-manager/packages/fr-config-push/src/index.js:2:15)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) ***
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/runner/work/fr-config-manager/packages/fr-config-push/src/index.js'
]
Node.js v20.15.1
and via NPM package
Run fr-config-push all-static
Updating scripts
Updating Journeys including inner journeys
TypeError: glob is not a function
at updateAuthTrees (/opt/hostedtoolcache/node/20.15.1/x64/lib/node_modules/@forgerock/fr-config-manager/packages/fr-config-push/src/scripts/update-auth-trees.js:186:13)
at updateStatic (/opt/hostedtoolcache/node/20.15.1/x64/lib/node_modules/@forgerock/fr-config-manager/packages/fr-config-push/src/index.js:47:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Process completed with exit code 1.
Reverting to a previous version doesn't have this issue present.
There is an issue with the updated dependencies - addressing this now.
Thanks Christian!