-
Notifications
You must be signed in to change notification settings - Fork 100
Not compatible with [email protected]: Cannot find module 'graphql-anywhere/lib/async' #346
Comments
I have same error in production |
Same
I had to add a resolution to my package.json to work around it for now
|
Same, this was a transitive dependency of apollo-boost 0.1.4. |
The same error occurs even when using @nuxtjs/apollo. |
I added this to my dependencies and it works for now
|
I can confirm that fixed it for me too |
+1 on this fix
Thanks a ton for sharing this fix @lakshyaranganath, I ran into this error after doing a fresh npm install today an hour before a big UI prototype demo... almost didn't have a UI to demo! That was a close one... |
Thanks for reporting this all - this was fixed in apollographql/apollo-client#4503, and will de deployed shortly. |
We found a different way of solving this problem: https://www.apollographql.com/docs/react/essentials/local-state.html#migrating |
apollo-link-state imports the path
'graphql-anywhere/lib/async'
, but this does not work with [email protected] since it now publishes this file aslib/async.umd.js
:Should this have been considered a breaking change by graphql-anywhere? Not sure if the
lib/async
module is considered part of its public API.The text was updated successfully, but these errors were encountered: