Node.js提示'>'不能在eshell中显示 [英] Node.js prompt '>' can not show in eshell

查看:180
本文介绍了Node.js提示'>'不能在eshell中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在eshell中运行Node.js,但提示不正确:

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

那么,我该如何解决?

推荐答案

尝试使用 NODE_NO_READLINE 启动在eshell中运行节点。例如,您可以通过在eshell中运行此命令来向eshell添加别名:

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'

这篇关于Node.js提示'>'不能在eshell中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆