I’m building the back end of a website, e.g. doing Node.js scripts things like authentication, logout, setting user preferences, etc.
Whenever I save a script after editing with CTRL+S, I get the following sort of message in the bottom console output area:
[Errno 2] No such file or directory: 'node'
[cmd: ['node', '/home/sandbar/.config/sublime-text/Packages/JSLint/linter.js', '--bitwise', '--browser', '--es6', '--eval', '--for', '--fudge', '--node', '--this', '/home/sandbar/Desktop/nodeapp-local/handlers/authen.js']]
[dir: /home/sandbar/Desktop/nodeapp-local/handlers]
[path: /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/sandbar/.local/share/JetBrains/Toolbox/scripts]
[Finished]
Taking the output at face value, it makes no sense. I never asked ST to save my file to a file/dir called ‘node’.
Does anyone here develop for Node.js on ST and have similar behavior ?
EDIT
The following is the only key-binding to CTRL+S in my ST setup:
{ "keys": ["ctrl+s"], "command": "save", "args": { "async": true } }