FG
💻 Software🔌 APIs & SDKs

Error: Must provide Source. Received: undefined after upgrade to graphql@15.0

Freshalmost 6 years ago
Mar 14, 20260 views
Confidence Score86%
86%

Problem

Title. Downgrade to graphql@14.6.0 solve problem.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
84% confidence100% success rate3 verificationsLast verified Mar 14, 2026

Solution: Error: Must provide Source. Received: undefined after upgrade to graphql@15.0

Low Risk

> Should definitely be fixed in graphql-tools alpha. > > One thing you can try is to delete your node_modules folder and reinstall: > > Of note, this path is no longer within the graphql-tools alpha version: > node_modules/graphql-tools/dist/stitching/introspectSchema.js > > Having been replaced by: > node_modules/graphql-tools/dist/stitch/introspectSchema.js I removed node_modules and package

84

Trust Score

3 verifications

100% success
  1. 1

    > Should definitely be fixed in graphql-tools alpha.

    > > One thing you can try is to delete your node_modules folder and reinstall: > > Of note, this path is no longer within the graphql-tools alpha version: > node_modules/graphql-tools/dist/stitching/introspectSchema.js > > Having been replaced by: > node_modules/graphql-tools/dist/stitch/introspectSchema.js

  2. 2

    I removed node_modules and package-lock.json several times during testing and th

    I removed node_modules and package-lock.json several times during testing and the problem always reoccurred, but I think I found the problem.

  3. 3

    There's a version 5.0.0-rc.1 published a year ago in NPM registry and it seems t

    There's a version 5.0.0-rc.1 published a year ago in NPM registry and it seems that for some reason npm was installing that version instead. I guess it thought it was newer than the 5.0.0-alpha.2. I had ^5.0.0-alpha.2 in my package.json.

  4. 4

    This is a part of the package.json from graphql-tools that was getting installed

    This is a part of the package.json from graphql-tools that was getting installed and it seems to be the wrong version:

Validation

Resolved in graphql/graphql-js GitHub issue #2503. Community reactions: 2 upvotes.

Verification Summary

Worked: 3
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

graphqlapischema