ngx-text-diff icon indicating copy to clipboard operation
ngx-text-diff copied to clipboard

npm ERR! Invalid tag name "^>=6.0.0": Tags may not have any characters that encodeURIComponent encodes

Open chaitanya02 opened this issue 2 years ago • 1 comments

I am getting this error npm ERR! Invalid tag name "^>=6.0.0": Tags may not have any characters that encodeURIComponent encodes in Angular 15 version. I do not want to use --legacy-peer-deps to solve this. I am using both dependencies with latest version "diff-match-patch": "^1.0.5", "ngx-text-diff": "^0.6.0"

chaitanya02 avatar Oct 04 '23 12:10 chaitanya02

A workaround is to run:

npm i ngx-text-diff --legacy-peer-deps

Which will make npm ignore the syntax errors in semantic versions.

krajmohan avatar Oct 12 '23 08:10 krajmohan