GithubHelp home page GithubHelp logo

Error: npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. about nx-labs HOT 4 OPEN

sebababi avatar sebababi commented on May 27, 2024
Error: npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated.

from nx-labs.

Comments (4)

mandarini avatar mandarini commented on May 27, 2024

Hello! Thanks for filing an issue. Unfortunately, I could not reproduce. By the way, the correct command is:

npx create-nx-workspace@latest pwa --preset=react-standalone

I see you are getting a xcrun error. This error occurs when the Xcode Command Line Tools are not installed or properly configured on your macOS system. To fix this issue, follow these steps:

  1. Install Xcode Command Line Tools:
    Open Terminal and run the following command to install the Xcode Command Line Tools:
xcode-select --install

A pop-up window will appear, prompting you to confirm the installation. Click "Install" and wait for the installation to complete.

  1. Reset the active developer directory:
    In some cases, you might still encounter the error after installing the Command Line Tools. To resolve this, you can reset the active developer directory path. Run the following command in Terminal:
sudo xcode-select --reset

Enter your password when prompted. This command resets the active developer directory to the default path.

  1. Set the active developer directory (if necessary):
    If the error still persists after resetting, you can manually set the active developer directory. Run the following command in Terminal:
sudo xcode-select -s /Library/Developer/CommandLineTools

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!

from nx-labs.

Hohuda avatar Hohuda commented on May 27, 2024

I have same error and get it becase

from nx-labs.

Hohuda avatar Hohuda commented on May 27, 2024

In the same way I get similar error deprecated [email protected]

And it's a deep dependency of @nx/[email protected] as well.

from nx-labs.

Marcos436 avatar Marcos436 commented on May 27, 2024

e uma depedencia da arvore de depedencias de alguns pacote no meu caso e do react-scripts

─┬ [email protected]
├─┬ @svgr/[email protected]
│ └─┬ @svgr/[email protected]
│ └─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected] deduped

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

from nx-labs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.