-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to parse source map warning #279
Comments
When the module is published there is no |
Hi, I faced the same warning. I have created a simple repo to reproduce it. I used CRA 5.0.1 with typescript template:
And installed following dependencies of Apollo Client and GraphQL:
STR:
|
Should resolve issue #279. Another possible resolution would be to ship the src/ directory, but inlining source code into source maps tends to be the most robust solution to these problems, in my experience.
Includes apollographql/invariant-packages#284, fixing apollographql/invariant-packages#279. These warnings have been causing red herrings in (probably) unrelated issues, most recently in #9662, so it makes sense to fix this problem even if it's arguably harmless.
This should be fixed in |
After upgrading
@apollo/client
to3.6.0
that depends onts-invariant
0.10.1
I'm seeing the following warning from the React dev server at every code change:This is in a project using
react-scripts
5.0.1
.Before the upgrade I had
@apollo/client
3.5.4
which usedts-invariant
0.9.4
(still the latest according to the npm registry) and there were no warnings.The text was updated successfully, but these errors were encountered: