1
I am trying to install the Babel package in my project. But while running the command: npm install --save-dev Babel-cli, an error occurs in the installation of tar.unpack. See in the image:
I tried to update npm, update nodejs and clear the cache. But none of that solved. If anyone’s been there and can help me I’d be grateful!
Already tested install globally? com
-g
?– Sergio
@Sergio, I ended up discovering the error. I was trying to install it through the git prompt and it seems that the correct one is to use the nodejs prompt. when doing by nodejs prompt worked. But thanks for the tip! ;)
– alan
Okay, in that case put an answer. It may be useful to more people.
– Sergio
All right! I’ll post!
– alan