I'm trying to deploy an app using https://wiki.js.org/
After getting everything set up locally, and then trying to deploy to our app engine project it will go through its motions and say it's Updating Service, which is the last step.
After a minute or so I will get this response:
Updating service [default] (this may take several minutes)...failed.
ERROR: (gcloud.app.deploy) Error Response: [9]
Application startup error:
> wiki@1.0.78 start /app
> node wiki start
\u2714 Wiki.js has started successfully.
This is my app.yaml
runtime: nodejs
env: flex
this is the package.json part with the "start" script
{
"name": "wiki",
"version": "1.0.78",
"description": "A modern, lightweight and powerful wiki app built on NodeJS, Git and Markdown",
"main": "wiki.js",
"scripts": {
"start": "node wiki start",
"stop": "node wiki stop",
"restart": "node wiki restart",
"build": "node tools/fuse",
"dev": "node tools/fuse -d",
"dev-configure": "node tools/fuse -c",
"test": "jest",
"postinstall": "opencollective postinstall"
},
On my local environment, the process to start this app is to run node wiki start
, but npm start
also does the same thing.