npm WARN deprecated [email protected]: Please upgrade to version 7 or higher

try this npm install [email protected] --force


Basically, the error suggests you should upgrade [email protected] version to 7 or higher.

Below is the message of the package author on the deprecation;

Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.

You can run npm install uuid@latest so as to upgrade to the latest stable version of uuid.