Reputation: 35
when I try to write npm install in gitbash command line I got this warning npm WARN [email protected] No license field. how can i solve this problem?
Upvotes: 1
Views: 148
Reputation: 1328522
As mentioned in npm issue 4473
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"
}]
So it depends which angularregistration you are using:
alexbelyeu/angularregistration
does include a license,planetoftheweb/angularregistration
does notUpvotes: 1