Yarn Pnp: @n1ru4l/graphql-live-query tried to access tslib
See original GitHub issueGetting this error:
Error: @n1ru4l/graphql-live-query tried to access tslib, but it isn’t declared in its dependencies; this makes the require call ambiguous and unsound.
when using yarn (v3.2) Pnp.
with
"@n1ru4l/graphql-live-query@npm:^0.10.0":
version: 0.10.0
resolution: "@n1ru4l/graphql-live-query@npm:0.10.0"
peerDependencies:
graphql: ^15.4.0 || ^16.0.0
checksum: c50414f56f9aa7bc60cf73847498fe94dc220f069343a4b8a3feb4f94f588649ab5e9c713e45a7d9c930c0d4337d861fbdc971350b90147eec9215503bb8aeaa
languageName: node
linkType: hard
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error: @nestjs/apollo and tslib (Yarn PnP + Workspaces) #2111
Error: @nestjs/apollo tried to access tslib, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
Read more >Troubleshooting | Yarn
This error message is not generated by Plug'n'Play. Ever. If you get it, it very likely means that your application is not running...
Read more >Next.js with Yarn pnp in a mono repo keep failing when trying ...
try restarting Typescript server. here is how if using vsCode. type: ctrl + shift + p choose: > TypeScript: Restart TS server.
Read more >What is Yarn PNP and Should You Use It? - Atomic Spin
Yarn PNP (Plug'n'Play) can make installation faster and provide better strictness around transitive dependencies. Is it worth using?
Read more >I tried yarn 2 on a greenfield project, but discovered: - pnp is ...
I would have assumed that this doesn't get applied if you install TypeScript via the Yarn v2 `node_modules` linker, but would have to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/n1ru4l/graphql-live-query/pull/972
@ChrisZieba Yes!