-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
TypeError: Cannot read properties of undefined (reading 'defaultProject') #14592
Comments
Try to use the latest |
Can you please provide a github repo we can use to reproduce the issue? |
Downgrading to @FrozenPandaz It was a fresh integrated-repo install for me, just added a react-app with the nx generator |
I'm experiencing this as well. For me, it only happens during the first run of
after a change in one or many of the projects subsequent runs come back fine downgrading to |
I tried the proposed solution (manually substituting the code in
|
Saw same issue, but in pre-commit husky hook. I researched how
Here my workaround:
|
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
Closed with #15432 |
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
TypeError: Cannot read properties of undefined (reading 'defaultProject')
CalculateDefaultProjectName
generates an error when nxJson is undefined.Expected Behavior
I think, it will be...
Github Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: