-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Available tasks for a project missing after vite.config.ts #22244
Comments
Hi @ubugnu I'm having a similar issue with vite-plugin. My issue is flakking the CI. we added a We have 5 vite packages, each run fails on a different one. It seems the issue comes from vite plugin but I have no idea how and why. |
Seem heavily related to #22285 |
@JamesHenry Since you merged the PR, can you confirm the PR will fix our issue? |
Tried nx 18.1.0-beta.9 with no luck Probably related to dependency issues though
|
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
Available tasks for a fresh react app installed in a monorepo are only
lint
after editing./apps/react-monorepo/vite.config.ts
Expected Behavior
They should be:
build
,serve
,preview
,serve-static
,test
andlint
GitHub Repo
No response
Steps to Reproduce
npx create-nx-workspace@latest react-monorepo --preset=react-monorepo
nx show project react-monorepo
give the following:./apps/react-monorepo/vite.config.ts
nx show project react-monorepo
gives:Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
However, if we delete
nx
cache:rm -r .nx/cache
, the correct target list is seen.The text was updated successfully, but these errors were encountered: