Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Getting (0 , devkit_1.readWorkspaceConfiguration) is not a function while generating app #206

Open
venky19666 opened this issue Aug 4, 2024 · 0 comments

Comments

@venky19666
Copy link

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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant