I tried deploying my app with the cmd:
gcloud app deploy
and it gave me error [9], but i am unsure why as it runs on the online simulator so I thought everything is good?
heres the error:
ERROR: (gcloud.app.deploy) Error Response: [9]
Application startup error:
> <project-name on api.ai>@0.0.1 start /app
> functions deploy <api.ai function name> --trigger-http
sh: 1: functions: not found
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/nodejs/bin/node" "/nodejs/bin/npm" "start"
npm ERR! node v4.2.6
npm ERR! npm v2.14.12
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! <project-name on api.ai>@0.0.1 start: `functions deploy
<api.ai function name> --trigger-http`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the <project-name on api.ai>@0.0.1 start script 'functions
deploy <api.ai function name> --trigger-http'.
npm ERR! This is most likely a problem with the <api.ai function name>
package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! functions deploy <api.ai function name> --trigger-http
npm ERR! You can get their info via:
npm ERR! npm owner ls <project-name on api.ai>
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /app/npm-debug.log
How can i fix this?
via Dema
No comments:
Post a Comment