The meteor user does not have permission to do these things through replace_bundle.sh. They should be handled by blackslate with sudo directly from staging_deploy.sh
Execute code as user meteor Install package at /var/www/jazyx/staging/bundle/programs/server bash: line 4: npm: command not found
The same code run manually works fine.
The
meteor
user does not have permission to do these things throughreplace_bundle.sh
. They should be handled byblackslate
withsudo
directly fromstaging_deploy.sh