npm WARN deprecated node-uuid@1.4.8: Use uuid module instead

前端 未结 3 1618
没有蜡笔的小新
没有蜡笔的小新 2021-02-08 06:44

When i try:
$ npm install -g cordova@latest
always get
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead

mac Os Sierra 10.12
npm v. 4.4.4

相关标签:
3条回答
  • 2021-02-08 07:24

    According to documentation : "In many cases, new features and bug fixes are available only with the latest version of the Firebase CLI and the firebase-functions SDK. It's a good practice to frequently update both the Firebase CLI and the SDK with these commands inside the functions folder of your Firebase project"

    npm install firebase-functions@latest firebase-admin@latest --save
    npm install -g firebase-tools
    
    0 讨论(0)
  • 2021-02-08 07:27

    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
    
    0 讨论(0)
  • 2021-02-08 07:29

    Try this command

    npm install uuid
    

    Read More : https://www.npmjs.com/package/uuid

    0 讨论(0)
提交回复
热议问题