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

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -