Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customization for Windows #21

Open
ceving opened this issue Nov 29, 2017 · 3 comments
Open

Customization for Windows #21

ceving opened this issue Nov 29, 2017 · 3 comments

Comments

@ceving
Copy link

ceving commented Nov 29, 2017

It might be useful to add the following to the documentation, when using js-comint on Windows.

This disables nodes own readline:

(setenv "NODE_NO_READLINE" "1")

See the discussion on Stackoverflow

And this sets the executable. Otherwise js-comint will search just for node without the .exe extension.

(setq inferior-js-program-command "C:/Program Files/nodejs/node.exe")
@redguardtoo
Copy link
Owner

Thanks. I will update the documentation.

@redguardtoo
Copy link
Owner

As I checked. js-comint runs (setenv "NODE_NO_READLINE" "1") automatically when starting repl.

@redguardtoo
Copy link
Owner

83e932e doc and bugs (Chen Bin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants