I have already set the package.json with following code for my company private project.
{
...
"license": "UNLICENSED",
"private": true,
...
}
but npm seems not giving up asking me for the license.
yarn run v1.22.19
warning ../../../package.json: No license field
CodePudding user response:
Thanks comment from @jonrsharpe.
I found the package.json actually from different path, which is actually from ~/
path. For visual studio command, when I click the link it prompt, it actually jump to current path package.json file. That's why it confused me.