Updating service [default] (this may take several minutes)...done.
ERROR: (gcloud.app.deploy) Your deployment has succeeded, but promoting the new version to default failed. You may not have permissions to change traffic splits. Changing traffic splits requires the Owner, Editor, App Engine Admin, or App Engine Service Admin role. Please contact your project owner and use the `gcloud app services set-traffic --splits <version>=1` command to redirect traffic to your newly deployed version.
Original error: INVALID_ARGUMENT: Invalid request.
- '@type': type.googleapis.com/google.rpc.BadRequest
fieldViolations:
- description: Traffic cannot be allocated to stopped version test. Please ensure
that traffic is only allocated to serving versions.
field: service.split.allocations[test]
> node build.js || nodejs build.js
make: Entering directory '/app/programs/server/node_modules/fibers/build'
CXX(target) Release/obj.target/fibers/src/fibers.o
../src/fibers.cc: In static member function 'static void Fiber::DestroyOrphans()':
../src/fibers.cc:464:67: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value stack(uni::Deref(that.isolate, fatal_stack));
^
In file included from /root/.node-gyp/10.13.0/include/node/v8.h:26:0,
from /root/.node-gyp/10.13.0/include/node/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/root/.node-gyp/10.13.0/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/root/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/fibers.cc: In static member function 'static void Fiber::RunFiber(void**)':
../src/fibers.cc:686:66: warning: 'static v8::Local<v8::Script> v8::Script::Compile(v8::Local<v8::String>, v8::ScriptOrigin*)' is deprecated: Use maybe version [-Wdeprecated-declarations]
Script::Compile(uni::NewLatin1String(that.isolate, "void 0;"));
^
In file included from /root/.node-gyp/10.13.0/include/node/v8.h:26:0,
from /root/.node-gyp/10.13.0/include/node/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/root/.node-gyp/10.13.0/include/node/v8.h:1256:38: note: declared here
Local<Script> Compile(Local<String> source,
^
/root/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/fibers.cc:701:66: warning: 'v8::Local<v8::Value> v8::TryCatch::StackTrace() const' is deprecated: Use maybe version. [-Wdeprecated-declarations]
uni::Reset(that.isolate, fatal_stack, try_catch.StackTrace());
^
In file included from /root/.node-gyp/10.13.0/include/node/v8.h:26:0,
from /root/.node-gyp/10.13.0/include/node/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/root/.node-gyp/10.13.0/include/node/v8.h:8593:52: note: declared here
V8_DEPRECATED("Use maybe version.", Local<Value> StackTrace() const);
^
/root/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
CXX(target) Release/obj.target/fibers/src/coroutine.o
CC(target) Release/obj.target/fibers/src/libcoro/coro.o
SOLINK_MODULE(target) Release/obj.target/fibers.node
COPY Release/fibers.node
make: Leaving directory '/app/programs/server/node_modules/fibers/build'
Installed in `/app/programs/server/node_modules/fibers/bin/linux-x64-64/fibers.node`
> meteor-dev-bundle@ install /app/programs/server
> node npm-rebuild.js
events.js:167
throw er; // Unhandled 'error' event
^
Error: spawn npm ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
at onErrorNT (internal/child_process.js:407:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:744:11)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
at onErrorNT (internal/child_process.js:407:16)
[... lines matching original stack trace ...]
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! meteor-dev-bundle@ install: `node npm-rebuild.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the meteor-dev-bundle@ install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-11-12T13_10_24_863Z-debug.log
The command '/bin/sh -c (cd programs/server && npm install --unsafe-perm)' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: exit status 1
Hello,You should get a better assistance in the Stack Overflow[1] since you have a technical issue and it will require troubleshooting. There, you should receive help from the community fellow enthusiasts, and from Google engineers when you add a tag in your post according to the product where you require assistance, as you can check in our documentation[2]. Additionally, I suggest that you post some sample code and details regarding your application like deployment and settings.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/cb7328de-cba8-427c-9db6-09786a8261e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.