Skip to content

"Unable to find executable file for node" when launch sublime from OSX Dock/Launcher #502

Open
@diatech

Description

@diatech

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions