Hemanth's Scribes

web

Sublime Text Build System Errno 2

Author Photo

Hemanth HM

Thumbnail

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
Author Photo

About Hemanth HM

Hemanth HM is a Sr. Machine Learning Manager at PayPal, Google Developer Expert, TC39 delegate, FOSS advocate, and community leader with a passion for programming, AI, and open-source contributions.