I'm trying to update my react version by (copy paste from react website):
npm install --save react@^16.2.0 react-dom@^16.2.0
and I get the errors:
+-- react@16.2.0 invalid
`-- react-dom@16.2.0 invalid
They do appear into my package.json normally as:
"react": "^16.2.0",
"react-dom": "^16.2.0",
So what does the invalid stand here for? Is there a way to log out the reason for the "invalid" error? Why is it invalid?