microsoft / microsoft/TypeScript-Sublime-Plugin
"Unable to find executable file for node" when launch sublime from OSX Dock/Launcher
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 236
- Avg merge
- 21d 13h
- Merged PRs (30d)
- 1
Description
User will see this error if user launches sublime from OS X Dock or Launcher.
'''
Unable to find executable file for node on path list: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$NVM_BIN
2016-08-15 18:57:15,814: 140735267553280: ERROR: can not send request; node process not running
'''
This is because on OS X, if user launches sublime from OS X Dock or Launcher, sublime Text has its PATH set by launchctl. It will not get PATH or NVM_BIN like bashrc.
The work around here is to launch subl from a shell or hardcode the 'node_path' setting, but it could become stale.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by tracing how the plugin locates the Node executable and compare the environment when Sublime is launched from the OS X Dock or Launcher versus a shell. Done means the plugin can find and start Node without requiring a shell launch or a permanently hardcoded node_path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100