-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
Describe the bug
The reason it's failing is because our get-installed-nx-version
util is searching for @nrwl/workspace
but nothing is installing it as part of the process
To Reproduce
Steps to reproduce the behavior:
- run
pnpx create-nx-workspace
- Choose the "packages project" option
- run
pnpx add -D qwik-nx
- run
nx generate qwik-nx:application qwik-demo-app --verbose
- See the following error:
Error: Could not resolve nx version from the package.json
at node_modules\.pnpm\[email protected]_ahfuqicueq5hwuaga2z5irye2y\node_modules\qwik-nx\src\utils\get-installed-nx-version.js:11:11)
Expected behavior
It needs to be either a dependency of qwik-nx or part of the app generator (or any generator that first adds it to package.json and then generates the app)
Metadata
Metadata
Assignees
Labels
No labels