-
Notifications
You must be signed in to change notification settings - Fork 49
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
Error: npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. #221
Comments
Hello! Thanks for filing an issue. Unfortunately, I could not reproduce. By the way, the correct command is:
I see you are getting a
A pop-up window will appear, prompting you to confirm the installation. Click "Install" and wait for the installation to complete.
Enter your password when prompted. This command resets the active developer directory to the default path.
This command sets the active developer directory to the Command Line Tools installation path. After completing these steps, the error should be resolved. Let me know if your error persists after you do this fix! |
I have same error and get it becase
|
In the same way I get similar error And it's a deep dependency of |
e uma depedencia da arvore de depedencias de alguns pacote no meu caso e do react-scripts ─┬ [email protected] deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility |
I try to install the latest standalone project in a folder called: pwa and I get this error. Basically, since I get the error it stops and doesn't create anything at tall, so non of the files, hence no packages.json so I cannot delete or remove "stable" from it.
STEP BY STEP:
(base) MacBook-Pro:pwa sebba$ npx create-nx-workspace@latest pwa --present=react-standalone
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
✔ Choose what to create · react
✔ Bundler to be used to build the application · vite
✔ Default stylesheet format · scss
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
✔ Enable distributed caching to make your CI faster · Yes
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
✖ Creating your workspace in pwa
Error: npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
(base) MacBook-Pro:pwa sebba$ rm -rf pwa
(base) MacBook-Pro:pwa sebba$ npx create-nx-workspace@latest pwa --present=react-standalone
The text was updated successfully, but these errors were encountered: