Skip to content
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

fix(core): add warning if running on an outdated global installation #15408

Merged

Conversation

AgentEnder
Copy link
Member

@AgentEnder AgentEnder commented Mar 3, 2023

Current Behavior

There is no warnings or documentation to help guide users who have an outdated installation.

Expected Behavior

Starting with the next version, users who have it installed globally and the local copy of Nx is at least 1 major version higher will see warnings explaining that they have an outdated global install. Due to the nature of this change, users who currently have an outdated install will not see the warnings, but this at least helps future users or folks who upgrade it.

image

Additionally, there is a guide added to describe the upgrade process and be searchable. This guide is not currently linked anywhere from the sidebar, perhaps it should be on the more-concepts index though.

Related Issue(s)

Fixes #15112

@vercel
Copy link

vercel bot commented Mar 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 3, 2023 at 8:37PM (UTC)

docs/shared/guides/global-nx.md Show resolved Hide resolved
packages/nx/bin/nx.ts Outdated Show resolved Hide resolved
packages/nx/bin/nx.ts Outdated Show resolved Hide resolved
packages/nx/bin/nx.ts Outdated Show resolved Hide resolved
@FrozenPandaz FrozenPandaz merged commit e773bdb into nrwl:master Mar 3, 2023
FrozenPandaz pushed a commit that referenced this pull request Mar 3, 2023
AgentEnder added a commit to AgentEnder/nx that referenced this pull request Mar 4, 2023
@github-actions
Copy link

github-actions bot commented Mar 9, 2023

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

15.7 doesn't recognize workspace anymore
3 participants