chrome-native-messaging
chrome-native-messaging copied to clipboard
Failed to connect: Native host has exited.
When I use my_host.js
, occur error: Failed to connect: Native host has exited.
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
)
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!