Node.js prompt '>' can not show in eshell

后端 未结 2 520
天涯浪人
天涯浪人 2021-01-02 22:20

I want to run Node.js in eshell, but the prompt does not right:

\"enter

So, ho

2条回答
  •  伪装坚强ぢ
    2021-01-02 22:53

    Try running node in eshell with NODE_NO_READLINE enabled. For example, you could add an alias to eshell by running this command in eshell:

    alias node 'NODE_NO_READLINE=1 node'
    

提交回复
热议问题