'Apollo Client can't fetch data, because "Failed to parse source map from invariant.ts"

Apollo Client can't fetch data, because "Failed to parse source map from invariant.ts".I saw similar problem on forum, but it's outdated.



Solution 1:[1]

The warning can be removed by adding GENERATE_SOURCEMAP=false to your .env file

For more information => https://github.com/facebook/create-react-app/pull/11752

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mustapha