I'm trying to run the following chef command: # install zombiejs, q (promises), should, coffee-script & mocha execute "install q and zombiejs" do cwd "/home/vagrant" user "vagrant" action :run command "npm install -g q zombie should mocha coffee-script" end But it keeps failing because it can't find npm: execute[install q and zombiejs] (chef-redtail::default line 205) had an error: Errno::ENOENT:
![`execute` as vagrant user, not root, with chef-solo?](https://cdn-ak-scissors.b.st-hatena.com/image/square/1d7824625a3ecbc3a39062b14aaa9db8a44aa022/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fserverfault%2FImg%2Fapple-touch-icon%402.png%3Fv%3D9b1f48ae296b)