apollographql / apollographql/fullstack-tutorial

[Docs] Issue when publishing schema

Open
#44 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.2k
Forks
808
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the production publishing instructions linked in the issue and the `/server` setup, then reproduce the `npx apollo service:check` and `service:push` commands using `.env` and `ENGINE_API_KEY`. Done means the tutorial's documented schema-publishing flow works or the instructions clearly explain the required parameters and configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, node.js
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.