Preact: Can not generate app "Unable to read the target configuration for the provided build target"
Describe the bug
running nx g @nxext/preact:app web-preact
getting Unable to read the target configuration for the provided build target, web-preact:build
Expected behavior To generate an app
Additional context Add any other context about the problem here.
@jochman have you found any fix? Or any other way how to setup a preact app in nx?
@etylsarin nope
also
I don't find it worth to use preact.
not enough value and the api isn't really compatible.
It seems to be a bug with the add-cypress util for the preact generator.
For some reason, it is attempting to run an nx build on the project before it is available: https://github.com/nxext/nx-extensions/blob/main/packages/preact/src/generators/application/lib/add-cypress.ts#L20
Not sure why this would be necessary. In the meantime, it's possible to work around this by skipping the e2e generator with the option --e2eTestRunner none