Envoyer Deployment Interceptors - Command Not Found

I use envoyer.io to deploy my applications.

I recently deleted compiled css / js files from my git repository. Instead, I want to compile them on a production server. I'm tired of adding a couple of deployment hooks after installing the composer. But without any success, my every attempt failed with a “team not found”

For example, one of the hooks looks like this:

cd {{release}}

npm install

I tried both {{release}} and the full path, and I always got

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

Although, when I did this from the console, it worked.

Any solutions?

Thank you in advance

+4
source share
1 answer

npm install gulp, , gulp.

gulp, : npm install --global gulp

0

Source: https://habr.com/ru/post/1611094/


All Articles