laravel - Envoyer deployment hooks - command not found -


i use envoyer.io deploying apps.

recently removed compiled css/js files git repo. instead want compile them on production server. tired add couple of deployment hooks after composer install. without success, each try failed "command not found"

for example, 1 of hooks like:

cd {{release}}  npm install 

i tried both {{release}} , full path , got

"bash: line 2: gulp: command not found" 

though when did console worked.

any solutions?

thanks in advance

the npm install not install gulp itself, rather elixir , of pieces uses use gulp.

when install gulp, should install globally: npm install --global gulp


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -