[英]Deploy Verdaccio on Google cloud
I want to deploy Verdaccio on App Engine with a storage on Google cloud.我想在 App Engine 上部署 Verdaccio,并在 Google 云上进行存储。
I manage to start the application on App Engine but i have an error about datastore access.我设法在 App Engine 上启动了应用程序,但我遇到了有关数据存储访问的错误。 I don't know how to fix it and the documentation is not clear about that.
我不知道如何解决它,文档也不清楚。
Can you help me please?你能帮我吗?
Log on my local computer:登录我的本地计算机:
./node_modules/.bin/verdaccio --config ./config.yaml
warn --- config file - /home/workspace/verdaccio/config.yaml
warn --- Using credentials in a file might be un-secure and is only recommended for local development
warn --- Google storage settings: {"projectId":"myproject","keyFilename":"./keyFile.json"}
warn --- Plugin successfully loaded: verdaccio-google-cloud
warn --- gcloud: [datastore getSecret] init error InternalServerError: 7 PERMISSION_DENIED: Missing or insufficient permissions.
fatal--- uncaught exception, please report this
ServiceUnavailableError: [getSecret] permissions error
The user is owner of Cloud Datastore and administrator of the bucket (sorry it is in french):用户是 Cloud Datastore 的所有者和存储桶的管理员(抱歉是法语):
I found the issue.我发现了这个问题。 In datastore i had no entity.
在数据存储中我没有实体。 I created one and it's working now.
我创建了一个,它现在正在工作。 The plugin documentation was not clear about how to start with datastore:(.
插件文档不清楚如何从数据存储开始:(。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.