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 eranitach opened this issue 4 years ago • 13 comments

Hi, first of all, thank you for the library. Very helpful..

Lastly, I got the error above when I do npm install, it occurred in npm v 7.5.2. However, With npm version 6.14.11 I just see warnings only and there are no errors at all.

You can see below the char that cause this issue --> ^. Can you remove it please?

npm WARN [email protected] requires a peer of @angular/core@^>=6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/forms@^>=6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @angular/cdk@^>=6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of rxjs@~6.3.3 but none is installed. You must install peer dependencies yourself.

BTW, I'm using angular core 9.0.3 and its still show me this warnings...

eranitach avatar Feb 04 '21 08:02 eranitach

Having the same issue on my machine

davidbirt avatar Mar 29 '21 19:03 davidbirt

Same from here!

apuredol avatar Apr 07 '21 18:04 apuredol

Any news on this? We have the same problem.

ursmeier-mercatus avatar Apr 24 '21 16:04 ursmeier-mercatus

Any updates on this? Or does anyone know a work-around?

zvandehy avatar Jun 18 '21 16:06 zvandehy

A workaround is to run:

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

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

paulhickman-a365 avatar Jul 13 '21 15:07 paulhickman-a365

Encountered this error message as well. Fix by paulhickman-a365 worked for me.

leepowers avatar Jul 28 '21 00:07 leepowers

@ABenassi87 After doing npm i ngx-text-diff --legacy-peer-deps, the angular app is unable to start. Getting below error Cannot find module 'minizlib'

Angular Version: 7.2.0 ngx-text-diff version: 0.6.0

vishalbiradar avatar Apr 07 '22 07:04 vishalbiradar

A workaround is to run:

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

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

It worked for me

JonathanJBM avatar May 17 '22 17:05 JonathanJBM

hava the same problem when installing 'axios' screenshot

MYHINDA avatar Nov 22 '22 12:11 MYHINDA

hava the same problem when installing 'axios' screenshot

if you use axios for http requests then it is recommended to use angular http module. https://angular.io/guide/http

JonathanJBM avatar Nov 22 '22 17:11 JonathanJBM

im not in angular. im on react

MYHINDA avatar Nov 22 '22 18:11 MYHINDA

Just use Yarn....

f5scott avatar Nov 23 '22 02:11 f5scott

Just use Yarn....

thanks, i tried again nd it works!

MYHINDA avatar Nov 23 '22 07:11 MYHINDA