apollographql / apollographql/fullstack-tutorial

[Docs] Issue when publishing schema

Đang mở
#44 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
1.2k
Fork
808
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hey there!
For some reason when trying to [publish the schema](https://www.apollographql.com/docs/tutorial/production.html#publish) I was getting this error:
```
✔ Loading Apollo Project
✖ Uploading service to Engine
→ No service found to link to Engine
Error: No service found to link to Engine
at Task.task (~/.npm/_npx/32532/lib/node_modules/apollo/lib/commands/service/push.js:17:31)
at Promise.resolve.then.then.skipped (~/.npm/_npx/32532/lib/node_modules/apollo/node_modules/listr/lib/task.js:167:30)
at
```

This is what I did, and didn't work:
- Had my `.env` file with the `ENGINE_API_KEY` set.
- Tried removing the `sevice:` prefix from the value of the variable
- Tried restarting the server
- Tried running `npx apollo service:check && npx apollo service:push` from the `/server` folder
- Double and tripled checked the API key

Finally I gave up and had to type the parameters directly on the `service:push` command.

Is this only my issue?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu với các hướng dẫn phát hành production được liên kết trong issue và phần thiết lập `/server`, sau đó thực hiện lại các lệnh `npx apollo service:check` và `service:push` bằng `.env` và `ENGINE_API_KEY`. Hoàn thành khi quy trình phát hành schema được tài liệu hóa trong tutorial hoạt động hoặc các hướng dẫn giải thích rõ các tham số và cấu hình cần thiết.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
graphql, node.js
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.