Open draylegend opened 2 years ago
Same error with attempting to generate an Angular library, using WSL2 under win32
(and, confirmed no 'app-root' exists under node_modules/nx/src/utils
)
Node : 16.16.0
OS : linux x64
npm : 8.11.0
nx : 14.5.1
@nrwl/angular : 14.5.1
@nrwl/cypress : 14.5.1
@nrwl/detox : Not Found
@nrwl/devkit : 14.5.1
@nrwl/eslint-plugin-nx : 14.5.1
@nrwl/express : Not Found
@nrwl/jest : 14.5.1
@nrwl/js : 14.5.1
@nrwl/linter : 14.5.1
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : Not Found
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : 14.5.1
@nrwl/web : 14.5.1
@nrwl/workspace : 14.5.1
typescript : 4.7.4
---------------------------------------
Community plugins:
@nxext/angular: 13.0.0-alpha.2
why is it coming today only, it was working for me till yesterday (for me its for @nxext/stencil)
I think the problem is version mismatch. You need to have nx
and all @nrwl/*
packages installed with the same version.
Describe the bug Cannot create angular app.
To Reproduce
npx create-nx-workspace my-app --preset=empty
npm install @nxext/angular
nx g @nxext/angular:application
my-app
css
true
Expected behavior Created angular app.
Additional context