Skip to content

Error on first step of tutorial #91

@KalessWave

Description

@KalessWave

Hi,

Following this tutorial (https://www.howtographql.com/graphql-js/1-getting-started/) will lead to the following error when trying to run the server:

Error: Must provide document.

As a beginner I did not really understood the issue, but it can be fixed by going to a more recent version of apollo-server instead of the version 2 used in the tutorial:
"apollo-server": "^3.4.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions