Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm WARN deprecated [email protected]: Use uuid module instead

When i try:
$ npm install -g cordova@latest
always get
npm WARN deprecated [email protected]: Use uuid module instead

mac Os Sierra 10.12
npm v. 4.4.4
node v. 6.10.2

Before install of cordova:
$npm list -g node-uuid
/usr/local/lib
....(empty)

After:
$npm list -g node-uuid /usr/local/lib
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

I tried follow every suggestion and install/uninstall a hundred times.
It's a npm or cordova problem?

like image 500
kit62 Avatar asked Apr 10 '17 23:04

kit62


1 Answers

This warning means that old node-uuid module is deprecated and won't be maintained moving forward. The module is still published in NPM for backward compatibility (with the deprecation notice). We can explicitly install uuid module using below commands:

npm uninstall --save node-uuid
npm install --save uuid
like image 90
Varun Taliyan Avatar answered Oct 17 '22 01:10

Varun Taliyan