Hemanth's Scribes

web

Sublime Text Build System Errno 2

Author Photo

Hemanth HM

While working on the yeoman-sublime-plugin, I faced [Errno 2] No such file or directory.

The Solution

{
  "working_dir": "${project_path:${folder}}",
  "path": "$HOME/bin:/usr/local/bin:$PATH",
  "cmd": ["sh", "-c", "npm install && bower install"]
}

The trick was starting the shell with sh -c!

#cli#sublime