So, it's my first project, which I am deploying with capifony. Everything seems fine, but I can't run grunt and bower commands on vps.
This is what I am trying to do in my deploy.rb file:
after "deploy" do
run "cd #{current_path}; npm install -g grunt-cli"
run "cd #{current_path}; npm install grunt --save-dev"
run "cd #{current_path}; npm install"
run "cd #{current_path}; bower install --allow-root"
run "cd #{current_path}; grunt"
end
And I get a lot of errors, which looks like that:
How should I do that in a right way?