[pnpm monorepo(w/ turborepo)] Unable to find any GraphQL type definitions for the following pointers: #1835
Unanswered
nagisa-yamato
asked this question in
Q&A
Replies: 1 comment 11 replies
-
When I tried switching to Is using ~/projects/vbwiloljr.github 5s
❯ pnpm lint --filter web
> turborepo-graphql-eslint@ lint /home/projects/vbwiloljr.github
> turbo run lint "--filter" "web"
Issues occurred when constructing package graph. Turbo will function, but some features may not be available Error: Unable to generate pnpm-lock.yaml with lockfileVersion: 6.0. Supported lockfile versions are 5.3,5.4
• Packages in scope: web
• Running lint in 1 packages
• Remote caching disabled
web:lint:
web:lint: > web@1.0.0 lint /home/projects/vbwiloljr.github/apps/web
web:lint: > eslint . --ignore-path .gitignore
web:lint:
web:lint:
web:lint: /home/projects/vbwiloljr.github/apps/web/app/page.tsx
web:lint: 11:11 error Cannot query field "foo" on type "Film" @graphql-eslint/fields-on-correct-type
web:lint:
web:lint: ✖ 1 problem (1 error, 0 warnings)
web:lint:
web:lint: ELIFECYCLE Command failed with exit code 1.
ERROR run failed: running web#lint failed: command finished with error
Tasks: 0 successful, 1 total
Cached: 0 cached, 1 total
Time: 4.1s
ELIFECYCLE Command failed with exit code 1.
~/projects/vbwiloljr.github 4s
❯ pnpm generate
> turborepo-graphql-eslint@ generate /home/projects/vbwiloljr.github
> graphql-codegen
[ProjectNotFoundError: Project 'default' not found]
ELIFECYCLE Command failed with exit code 1.
~/projects/vbwiloljr.github
❯
|
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to set up graphql-eslint in a pnpm monorepo using turborepo.
/apps
uses separate GraphQL endpointsHowever, I get the error below when I try to run eslint (CLI and VSCode extension).
Is there a solution to fix this error?
Beta Was this translation helpful? Give feedback.
All reactions