redwood: @apollo/client cannot be resolved
In a recent update @apollo/client
can no longer be resolved
We have documentation stating that useLazyQuery can be imported from @apollo/client
I believe that at som. point when the GrapqhlProvider was being introduced this fell through the cracks. Installing @apollo/client
directly into src/web
fixes it not being resolved.
Should users be required to install @apollo/client
or should these be exported from @redwoodjs/web/apollo
or make @apollo/client
available to be imported.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (20 by maintainers)
Hmm I might not have explicitly deleted the yarn lock file will give that a look try as soon as I get back to my computer
Running
yarn why @apollo/client
in both a project where it’s working and one where it’s not working would be very helpful 🙂@thedavidprice
A related PR for updating the documentation was recently submitted by @vchoy
https://github.com/redwoodjs/redwoodjs.com/pull/651
Additionally tagging @peterp @Tobbe from @thedavidprice request https://discord.com/channels/679514959968993311/716252919875240007/826917616400597023