After upgrading to npm 5.*
I have noticed a new field on the package.json
which is really obscure and unintelligible.
What false: {}
means?
{
"name": "test",
"devDependencies": {},
"dependencies": {},
// What that means? What's the goal?
"false": {}
}
This was bug #17141 in npm.
It was fixed in commit c3b586a on June 30th and that was released in version 5.1.0 on July 5th.
The fix for anyone experiencing this is to simply update npm.
You can update by running: npm install -g npm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With