AGPL-3.0-only license not recognized


(Sylvain) #1

What I Wanted to Do

Set the license, in my package.json to the GNU Affero General Public License v3.0 only, using the valid identifier given at This identifier is not recognized as expected.

What Happened Instead

Running any npm command from the command line produces the following warning:

npm WARN fab-manager@2.7.0-dev license should be a valid SPDX license expression

Reproduction Steps

Create a package.json file, using the following line:

  "license": "AGPL-3.0-only"

Run npm install, the warning is produced

Platform Info

$ npm --versions
{ 'fab-manager': '2.7.0-dev',
  npm: '3.5.2',
  ares: '1.14.0',
  cldr: '32.0.1',
  http_parser: '2.7.1',
  icu: '60.2',
  modules: '57',
  nghttp2: '1.30.0',
  node: '8.10.0',
  openssl: '1.0.2n',
  tz: '2017c',
  unicode: '10.0',
  uv: '1.18.0',
  v8: '6.2.414.50',
  zlib: '1.2.11' }
$ node -p process.platform

(Kat Marchán) #2 already includes this license so I assume this will be resolved as soon as we upgrade npm and its deps

(system) closed #3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.