Can't seem to install babel... #10333
Comments
@rscharfer You can upload the |
Thank you. Already something new learned. : ) Here is the link to my npm-debug.log file: https://gist.github.com/rscharfer/7494fa07b9870cb628c0 |
Hi KenanY, do you have any ideas as to what my be the problem? I tried completing reinstalling node.js this morning, and I still have the same issue trying to install babel-cli. |
@rscharfer Looks like an issue with your internet connection. Maybe there is a proxy or firewall in the way? |
Weird.Ok, thanks. That might be due to some configuration on my router I guess. What line of the debug.log tells you there is an issue with my internet connection? Maybe I could Google around some more and fix the problem with my router (if that's it). |
@rscharfer Last few lines:
|
any one can have a look of my error plz, i could not install the babel-cli anyway, i have installed node.js. |
@vickenliu Your error looks unrelated to that of @rscharfer. To me, it looks like you need to run that command with |
@kenany thank you so much, it works... |
Closing as resolved. |
Well, @rscharfer's issue was never confirmed to be resolved but it is an issue with their internet connection and not with |
I would like node to be able to read arrow functions in my js files.
I was told I need to "npm install -g babel". The seemed to work OK. I then tried to run my script "babel-node myscript.js", and instead of reading what I console.log in the script, I got "the CLI has been moved into the package 'babel-cli'". I then "npm install -g babel-cli" as it suggested and I received a large amount of errors and node still cannot read my arrow functions... I will like to add my debug file here somewhere, but I am not sure how...
The text was updated successfully, but these errors were encountered: