$ babel and $ babel-node don't launch the REPL

后端 未结 2 366
猫巷女王i
猫巷女王i 2021-01-27 17:25

I\'m trying to setup babel on Ubuntu 14.04 but it doesn\'t seem to be working!

Here are some outputs that may be required:

$ which node
/usr/sbin/node
$          


        
2条回答
  •  一向
    一向 (楼主)
    2021-01-27 18:10

    Changing node to nodejs in the first line of /usr/local/bin/babel-node and /usr/local/bin/babel solves it.

提交回复
热议问题