-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I would like to use this with apollo 3.4.x, but I am getting the following error:
Metro has encountered an error: While trying to resolve module `@apollo/client/utilities` from file `/Users/MY/APP/node_modules/apollo-link-queue/build/dist/QueueLink.js`, the package `/Users/MY/APP/node_modules/apollo-link-queue/node_modules/@apollo/client/utilities/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/Users/MY/APP/node_modules/apollo-link-queue/node_modules/@apollo/client/utilities/utilities.cjs`. Indeed, none of these files exist:
* /Users/MY/APP/node_modules/apollo-link-queue/node_modules/@apollo/client/utilities/utilities.cjs(.native|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)
* /Users/MY/APP/node_modules/apollo-link-queue/node_modules/@apollo/client/utilities/utilities.cjs/index(.native|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx): /Users/MY/APP/node_modules/metro/src/node-haste/DependencyGraph.js (436:17)
434 |
435 | if (error instanceof InvalidPackageError) {
> 436 | throw new PackageResolutionError({
| ^
437 | packageError: error,
438 | originModulePath: from,
439 | targetModuleName: to
RCTFatal
__28-[RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_drain
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
-[UIApplication _run]
UIApplicationMain
main
start_sim
0x0
Is there work to get this to work with the latest version of Apollo?
Metadata
Metadata
Assignees
Labels
No labels