警告在 gitBash 中安装 npm(npm WARN angularRegistration@2.0.0 没有许可证字段。)
warning installing npm in gitBash (npm WARN angularRegistration@2.0.0 No license field.)
当我尝试在 git bash 命令行中编写 npm install 时,我收到了这个警告
npm WARN angular Registration@2.0.0 没有许可证字段。
我该如何解决这个问题?
所述
Also giving licenses (an array of objects with type and url keys) helps users whose legal departments request both the license name and the text. See this example from async:
"licenses": [{
"type": "MIT",
"url": "https://github.com/caolan/async/raw/master/LICENSE"
}]
所以这取决于你使用的是哪个angularregistration:
当我尝试在 git bash 命令行中编写 npm install 时,我收到了这个警告 npm WARN angular Registration@2.0.0 没有许可证字段。 我该如何解决这个问题?
Also giving licenses (an array of objects with type and url keys) helps users whose legal departments request both the license name and the text. See this example from async:
"licenses": [{
"type": "MIT",
"url": "https://github.com/caolan/async/raw/master/LICENSE"
}]
所以这取决于你使用的是哪个angularregistration: