小编Rob*_*lga的帖子

npm在emacs eshell下没有正确显示提示

这个问题Node.js提示'>'无法在eshell中显示解决节点repl的问题,但是当你从npm调用node时,该解决方案不起作用.

举例来说,如果我做

$ npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sane defaults.

See `npm help json` for definitive documentation on these fields
and exactly what they do.

Use `npm install <pkg> --save` afterwards to install a package and
save it as a dependency in the package.json file.

Press ^C at any time to quit.
^[[1G^[[0Jname: (nodo1) ^[[15G
Run Code Online (Sandbox Code Playgroud)

或者如果你有一个带有"脚本"的package.json:{"start":"node"}

$ npm start
npm …
Run Code Online (Sandbox Code Playgroud)

emacs node.js npm

5
推荐指数
1
解决办法
1507
查看次数

标签 统计

emacs ×1

node.js ×1

npm ×1