Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eranitach opened this issue Feb 4, 2021 · 13 comments

Comments

@eranitach
Copy link

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 ngx-text-diff@0.6.0 requires a peer of @angular/core@^>=6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-text-diff@0.6.0 requires a peer of @angular/forms@^>=6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-text-diff@0.6.0 requires a peer of @angular/cdk@^>=6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-text-diff@0.6.0 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...

@davidbirt
Copy link

Having the same issue on my machine

@apuredol
Copy link

apuredol commented Apr 7, 2021

Same from here!

@ursmeier-mercatus
Copy link

Any news on this? We have the same problem.

@zvandehy
Copy link

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

@paulhickman-a365
Copy link

A workaround is to run:

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

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

@leepowers
Copy link

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

@vishalbiradar
Copy link

@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

@JonathanJBM
Copy link

JonathanJBM commented May 17, 2022

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

@MYHINDA
Copy link

MYHINDA commented Nov 22, 2022

hava the same problem when installing 'axios'
screenshot

@JonathanJBM
Copy link

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

@MYHINDA
Copy link

MYHINDA commented Nov 22, 2022

im not in angular. im on react

@f5scott
Copy link

f5scott commented Nov 23, 2022

Just use Yarn....

@MYHINDA
Copy link

MYHINDA commented Nov 23, 2022

Just use Yarn....

thanks, i tried again nd it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests