NoHa
NoHa

Reputation: 35

warning installing npm in gitBash (npm WARN [email protected] No license field.)

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

Answers (1)

VonC
VonC

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:

Upvotes: 1

Related Questions