npm install error – Invalid tag name “>=^16.0.0”

Posted by

Error

The error appears when we install npm

PS C:\xampp\htdocs\Photo-Editor> npm install
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ">=^16.0.0" of package "react@>=^16.0.0": Tags may not have any characters that encodeURIComponent encodes.

npm ERR! A complete log of this run can be found in:

solution:

Run This command:

npm install --legacy-peer-deps
or 
npm install --legacy-peer-deps --force
0 0 votes
Article Rating
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
1
0
Would love your thoughts, please comment.x
()
x