我一直在学习使用Dialogflow创建聊天机器人的教程,我已经到达了完成这一任务的部分。Google Cloud 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
我尝试了sudo和更新gcloud组件,但仍然是一样的。我打开了那个文件夹,上面写着不存在,我看到那里有一个文件,但它是一个别名。当我点击别名时,Finder说它无法打开,因为找不到原件。有什么建议吗?
发布于 2017-11-11 01:42:25
因此,我的一个朋友告诉我,对于这一部分,它必须在index.js文件所在的同一目录中运行。以防其他人被卡住!
https://stackoverflow.com/questions/47233452
复制