2017-11-11 223 views
0

我一直在关注使用Dialogflow创建聊天机器人的教程,并且我已经到达完成部分。谷歌云SDK已经安装,但当它部署的功能时,我不断收到此错误。谷歌SDK /对话框部署错误

https://dialogflow.com/docs/getting-started/basic-fulfillment-conversation

Jasons-MBP-3:~ jason$ sudo gcloud beta functions deploy Goddard --stage-bucket goddard.appspot.com --trigger-http 
-2 ['./.git', './.gitignore'] 
-1 [False, False] 
ERROR: gcloud crashed (OSError): [Errno 2] No such file or directory: './Library/Application Support/Google/Chrome/RunningChromeVersion' 

If you would like to report this issue, please run the following command: 
    gcloud feedback 

To check gcloud for common problems, please run the following command: 
    gcloud info --run-diagnostics 

我尝试须藤和更新gcloud成分,但仍是同样的事情。我去了它不存在的文件夹,我看到那里的文件,但它是一个别名。当我单击别名时,Finder说它无法打开,因为找不到原件。有什么建议么?

回答

0

因此,我的一位朋友告诉我,对于这部分,它必须运行在index.js文件所在的同一目录中。万一别人卡住了!