apollographql / apollographql/fullstack-tutorial

[Docs] Issue when publishing schema

オープン
#44 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.2k
フォーク
808
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Issue にリンクされている本番公開手順と `/server` のセットアップから始め、`.env` と `ENGINE_API_KEY` を使って `npx apollo service:check` および `service:push` コマンドを再現します。チュートリアルに記載されたスキーマ公開フローが動作するか、必要なパラメーターと設定が手順で明確に説明されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
graphql, node.js
領域
documentation
issue の種類
ドキュメント
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。