• npm WARN Administrator@1.0.0 No description npm WARN Administrator@1.0.0 No repository field.


    C:\Users\Administrator>npm install axios
    npm WARN Administrator@1.0.0 No description
    npm WARN Administrator@1.0.0 No repository field.
    
    + axios@0.24.0
    updated 1 package and audited 2 packages in 3.204s
    found 0 vulnerabilities

    查看package.json文件

    {
      "name": "Administrator",
      "version": "1.0.0",
      "description": "",
      "main": "index.js",
      "dependencies": {
        "axios": "^0.24.0"
      },
      "devDependencies": {},
      "scripts": {
        "test": "echo \"Error: no test specified\" && exit 1"
      },
      "keywords": [],
      "author": "",
      "license": "ISC"
    }

    根据提示路径, 手动打开package.json文件, 修改 description和private字段.

    {
      "name": "ding",
      "version": "1.0.0",
      "description": "什么都可以 不为空即可",
      "main": "index.js",
      "dependencies": {
        "ij-rpc-client": "^0.3.2",
        "vue": "^2.6.12"
      },
      "devDependencies": {},
      "scripts": {
        "test": "echo \"Error: no test specified\" && exit 1"
      },
      "keywords": [],
      "author": "",
      "license": "ISC",
      "private": true        
    }




  • 相关阅读:
    微信mac版的bug 直接显示了消息原始数据
    提一下InfoQ
    成长
    SaaS产品成功学
    .io域名在申请SSL证书时被坑
    一件小事
    Git做代码增量发布的重要用法
    今天
    为什么都不写博
    惑不惑
  • 原文地址:https://www.cnblogs.com/emanlee/p/15734939.html
Copyright © 2020-2023  润新知