apollographql / apollographql/fullstack-tutorial
[Docs] Issue when publishing schema
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.2k
- Forks
- 808
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne mit den im Issue verlinkten Anweisungen zum Veröffentlichen in der Produktion und der Einrichtung von `/server`, und führe dann die Befehle `npx apollo service:check` und `service:push` mit `.env` und `ENGINE_API_KEY` erneut aus. Die Aufgabe ist abgeschlossen, wenn der im Tutorial dokumentierte Schema-Veröffentlichungsablauf funktioniert oder die Anweisungen die erforderlichen Parameter und die Konfiguration klar erklären.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- graphql, node.js
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100