-
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
fix(core): improve error message when native binaries are not found for a supported platform #17817
fix(core): improve error message when native binaries are not found for a supported platform #17817
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
42640c5
to
dc29ee7
Compare
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 8b64819. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small suggestion for a change to keep the initial error as the cause in case it is helpful. Supported in Node 16.9+, but shouldnt cause issues if its present in older versions.
121ed14
to
9b082e6
Compare
…or a supported platform
…rtedPlatform The comments that explained the purpose of the assertSupportedPlatform function were removed as they were deemed unnecessary. The function is self-explanatory and the comments were creating clutter. As part of the change, 'For more information...' line is also added to provide a troubleshooting link to users encountering installation issues.
9b082e6
to
33240fc
Compare
Be prepared to give as much detail as possible about your system, we will need the following information at a minimum: | ||
|
||
- Operating system | ||
- Operating system version | ||
- CPU Architecture (x64, arm64, etc) | ||
- Node version | ||
- Package manager (npm, yarn, pnpm, etc), it's version and the install command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of this is available in nx report
right? We should tell them to include that rather than listing this out?
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. |
Current Behavior
When a platform is supported but native binaries are not found, the error message says that the platform is not supported. Even though it is.
Expected Behavior
A supported platform with missing dependencies will have a clearer message
Related Issue(s)
Related #17767