question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Yarn Pnp: @n1ru4l/graphql-live-query tried to access tslib

See original GitHub issue

Getting 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:open
  • Created a year ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found