✔ Which config format would you like to use? · yml
✔ Which example project would you like to start with? · star-wars
NX (0 , devkit_1.readWorkspaceConfiguration) is not a function
TypeError: (0 , devkit_1.readWorkspaceConfiguration) is not a function
at setDefaults (/home/benmark/codespaces/peral/node_modules/nx-mesh/src/generators/base/lib/set-defaults.js:6:63)
at /home/benmark/codespaces/peral/node_modules/nx-mesh/src/generators/base/base.js:19:31
at Generator.next ()
at fulfilled (/home/benmark/codespaces/peral/node_modules/tslib/tslib.js:166:62)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn nx generate nx-mesh:app gateway --directory=apps/gateway --verbose yarn run v1.22.22 $ /home/benmark/codespaces/peral/node_modules/.bin/nx generate nx-mesh:app gateway --directory=apps/gateway --verbose
NX Generating nx-mesh:application
✔ Which config format would you like to use? · yml ✔ Which example project would you like to start with? · star-wars
NX (0 , devkit_1.readWorkspaceConfiguration) is not a function
TypeError: (0 , devkit_1.readWorkspaceConfiguration) is not a function at setDefaults (/home/benmark/codespaces/peral/node_modules/nx-mesh/src/generators/base/lib/set-defaults.js:6:63) at /home/benmark/codespaces/peral/node_modules/nx-mesh/src/generators/base/base.js:19:31 at Generator.next ()
at fulfilled (/home/benmark/codespaces/peral/node_modules/tslib/tslib.js:166:62)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I am using nx version 19.4.3