cannot open `node_modules/node-jq/bin/jq` for reading: permission denied
PhaedrusTheGreek opened this issue · comments
I'm unable to deploy a google cloud function that relies on node-jq
For Cloud Build Stackdriver Logs, visit: https://console.cloud.google.com/logs/viewer?project=xxx.xxx.cloudbuild
............................failed.
ERROR: (gcloud.functions.deploy) OperationError: code=13, message=Build failed: cp: cannot open 'node_modules/node-jq/bin/jq' for reading: Permission denied; Error ID: be8da553
[gcloud] exited with code 1
I'm assuming there is some cloud environment security that prevents execution of a local binary.
Related - #374