Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm install --save-dev @ts2.0 Invalid tag name "@ts2.0"

So when i type :

npm install  @ts2.0 --save-dev

I have this error :

npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "@ts2.0": Tags may not have any characters that encodeURIComponent encodes.

Any ideas why ?

Regards and thanks

like image 445
Bussiere Avatar asked Jan 18 '26 15:01

Bussiere


1 Answers

I got this error when copy/pasting from a pdf. Typing it by hand got it work for me

like image 118
Devin Plauche Avatar answered Jan 20 '26 05:01

Devin Plauche



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!