elasticsearch-head-master下运行npm install报npm WARN elasticsearch-head@0.0.0 license should be a valid SPDX license expression

2个月没有启动es和es配套服务,今天运行时,发现如下问题:

运行npm install

出现npm WARN elasticsearch-head@0.0.0 license should be a valid SPDX license expression

elasticsearch-head-master下运行npm install报npm WARN elasticsearch-head@0.0.0 license should be a valid SPDX license expression

spdx license是个什么?官网: https://spdx.org/licenses/

spdx license是一个开源软件或者其他合作类软件的一个使用声明

解决问题:

打卡elasticsearch-head-master下的package.json

elasticsearch-head-master下运行npm install报npm WARN elasticsearch-head@0.0.0 license should be a valid SPDX license expression

修改license为Apache-2.0

elasticsearch-head-master下运行npm install报npm WARN elasticsearch-head@0.0.0 license should be a valid SPDX license expression

保存后重新运行npm install

elasticsearch-head-master下运行npm install报npm WARN elasticsearch-head@0.0.0 license should be a valid SPDX license expression

问题解决~

license问题解决参考博客:

https://www.cnblogs.com/shengulong/p/6224908.html

上一篇:Angular5.0.0新特性


下一篇:esp32(M5STACK) ARDUINO开发环境搭建(ubuntu)