npm WARN弃用node-uuid@1.4.8:改用uuid模块

kit*_*t62 11 node.js npm cordova npm-request

当我尝试:
$ npm install -g cordova @ latest
总是得到
npm WARN弃用node-uuid@1.4.8:改用uuid模块

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

在安装cordova之前:
$ npm list -g node-uuid
/ usr/local/lib
....(空)

之后:
$ npm list -g node-uuid/usr/local/lib
.... cordova@6.5.0
........ cordova-lib@6.5.0
.......... ..npm @ 2.15.12
................ request@2.74.0
.................... node- uuid@1.4.7
............ request@2.47.0
................ node-uuid@1.4.8

我尝试按照每个建议并安装/卸载一百次.
这是一个npm或cordova问题?

小智 19

此警告意味着旧的node-uuid模块已弃用,并且不会继续向前维护.该模块仍在NPM中发布,以实现向后兼容性(使用弃用通知).我们可以使用以下命令显式安装uuid模块:

npm uninstall --save node-uuid
npm install --save uuid
Run Code Online (Sandbox Code Playgroud)