You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want create-nx-workspace to check for valid git config (user.name, user.email) so that the git init does not fail like it did on my freshly installed linux
~/nx-e2e-include npx create-nx-workspace ✔ 13:38:19
> NX Let's create a new workspace [https://nx.dev/getting-started/intro]✔ Choose what to create · integrated✔ What to create in the new workspace · next✔ Repository name · nx-e2e-include✔ Application name · web✔ Default stylesheet format · css✔ Enable distributed caching to make your CI faster · No > NX Nx is creating your v15.7.2 workspace. To make sure the command works reliably in all environments, and that the preset is applied correctly, Nx will run "npm install" several times. Please wait.✔ Installing dependencies with npm✔ Nx has successfully created the workspace: nx-e2e-include.Author identity unknown*** Please tell me who you are.Run git config --global user.email "you@example.com" git config --global user.name "Your Name"to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'user@hostname.(none)')
> NX Could not initialize git repository
undefined
——————————————————————————————————————————————————————————————
> NX First time using Nx? Check out this interactive Nx tutorial.
https://nx.dev/react-tutorial/1-code-generation
Motivation
Reduce potential for failure to generate workspace
Suggested Implementation
Parse the effective git config of the user running create-nx-workspace
Alternate Implementations
The text was updated successfully, but these errors were encountered:
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.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏
Description
I want create-nx-workspace to check for valid git config (user.name, user.email) so that the git init does not fail like it did on my freshly installed linux
Motivation
Reduce potential for failure to generate workspace
Suggested Implementation
Parse the effective git config of the user running create-nx-workspace
Alternate Implementations
The text was updated successfully, but these errors were encountered: