```ruby
execute "npm install" do
  command "su -c \"cd /vagrant; npm install --save-dev; ./node_modules/.bin/bower install\" vagrant"
end
```

Split npm and bower install commands
user
```ruby
execute "npm install" do
  command "su -c \"cd /vagrant; npm install --save-dev\" vagrant"
end

execute "bower install" do
  command "su -c \"cd /vagrant; ./node_modules/.bin/bower install\" vagrant"
end
```
assistant