ABenassi87 / ngx-text-diff

A Text Diff component for Angular
https://ngx-text-diff.herokuapp.com/home
50 stars 44 forks source link

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

Open chaitanya02 opened 8 months ago

chaitanya02 commented 8 months ago

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"

krajmohan commented 8 months ago

A workaround is to run:

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

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