Warning in npm config at latest version

Alternatively, edit your .npmrc file and change “init.author.name” to “init-author-name”.

For me, the full list of keys I had to change (replace . with -) was:

Old key                  New key
=======                  =======
init.author.name         init-author-name
init.author.email        init-author-email
init.author.url          init-author-url
init.license             init-license

The error/suggested fix returned was not helpful:

npm WARN config init.author.email Use `--init-author-email` instead.
npm WARN config init.author.name Use `--init-author-name` instead.
npm WARN config init.author.url Use `--init-author-url` instead.
npm WARN config init.license Use `--init-license` instead.

Had the warning been formatted slightly differently, perhaps a post here could have been avoided:

npm WARN config init.author.email Use `init-author-email` instead.
npm WARN config init.author.name Use `init-author-name` instead.
npm WARN config init.author.url Use `init-author-url` instead.
npm WARN config init.license Use `init-license` instead.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)