我尝试在我的开发商店中安装 Shopify 应用程序。我使用手动方式(https://shopify.dev/tutorials/build-a-shopify-app-with-node-and-react/embed-your-app-in-shopify)作为CLI方式(https: //shopify.github.io/shopify-app-cli/getting-started/)。
我不断收到这个Error: write EPIPE at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16)
我不知道我做错了什么,也不知道为什么我找不到该错误的任何解决方案。我真的是唯一面临这个问题的人吗?
如果我运行我的 docker-compose.yml 文件,我总是收到以下错误消息:
docker.credentials.errors.InitializationError: docker-credential-gcloud not installed or not available in PATH
Run Code Online (Sandbox Code Playgroud)
我为想要使用 gcloud 凭据的人找到了很多解决方案。我不想使用它,也不知道它为什么要这样做。我认为这是 docker-compose 的错误配置,因为如果我使用它们的 Dockerfile 单独构建容器,我会启动并运行所有内容。
这是我的 docker-compose.yml:
version: '3'
services:
web:
build: './web'
ports:
- "3000:3000"
search:
build: './search'
ports:
- "3001:3000"
depends_on:
- db
environment:
- MONGO_DB_URI=mongodb://db/microservices
books:
build: './books'
ports:
- "3002:3000"
depends_on:
- db
environment:
- MONGO_DB_URI=mongodb://db/microservices
videos:
build: './videos'
ports:
- "3003:3000"
depends_on:
- db
environment:
- MONGO_DB_URI=mongodb://db/microservices
db:
image: mongo
ports:
- "27017:27017"
nginx:
image: nginx:latest
ports:
- "8080:8080"
volumes:
- …
Run Code Online (Sandbox Code Playgroud)