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

Failed to connect: Native host has exited. #7

Open
riskers opened this issue Jun 13, 2018 · 2 comments
Open

Failed to connect: Native host has exited. #7

riskers opened this issue Jun 13, 2018 · 2 comments

Comments

@riskers
Copy link

riskers commented Jun 13, 2018

When I use my_host.js, occur error: Failed to connect: Native host has exited.

@dutzi
Copy link

dutzi commented Jul 27, 2019

Run the following:

which node

Then add the following line to the top of my_host.js:

#!/Users/eldad/.nvm/versions/node/v10.15.1/bin/node

(replacing the path with the output of which)

@aamir-nazir
Copy link

Run the following:

which node

Then add the following line to the top of my_host.js:

#!/Users/eldad/.nvm/versions/node/v10.15.1/bin/node

(replacing the path with the output of which)

Worked like a charm!

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

3 participants