Using Ubuntu 16.04. Installed google cloud sdk and node js via ppa, followed copy-paste instructions from the respective sites.
I can run gulp no problem from the project directory and test the project.
Whenever I try to gcloud app deploy I get this:
sh: 1: gulp: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! gae-init@ install: `gulp init`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the gae-init@ install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-07-24T01_56_35_014Z-debug.log
The command '/bin/sh -c npm install --unsafe-perm || ((if [ -f npm-debug.log ]; then cat npm-debug.log; fi) && false)' returned a non-zero code: 1
ERROR
ERROR: build step "gcr.io/cloud-builders/docker@sha256:b085f9e5583624eace9c9ba45097afc12123cf5f145703c693c32264c90bbbe0" failed: exit status 1
ERROR: gcloud crashed (AttributeError): 'module' object has no attribute 'HttpErrorPayload'
| => gulp --version
[20:00:24] CLI version 3.9.1
[20:00:24] Local version 3.9.1
One funny thing I notice is the log it appears to dump is in /root. No such log exists whether I run with sudo or not. I am not normally running as this as root.
Using Ubuntu 16.04. Installed google cloud sdk and node js via ppa, followed copy-paste instructions from the respective sites.
I can run
gulp
no problem from the project directory and test the project.Whenever I try to
gcloud app deploy
I get this:One funny thing I notice is the log it appears to dump is in
/root
. No such log exists whether I run with sudo or not. I am not normally running as this as root.