Skip to content

doesn't work with Yarn PNP #310

@diminutivesloop

Description

@diminutivesloop

I'm working in a project that recently converted to Yarn plug'n'play for installing dependencies and this extension has started failing with the following error message:

[2021-09-24T12:12:37.989] [INFO] gql-language-server - running in node v14.16.0 (/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer))
[2021-09-24T12:12:37.993] [INFO] load-gql-service - loading @playlyfe/gql...
[2021-09-24T12:12:37.994] [INFO] load-gql-service - @playlyfe/gql not found in path /Users/nathanielpalmer/projects/ss-ecomm-frontend
[2021-09-24T12:12:37.995] [INFO] load-gql-service - Skipping auto download @playlyfe/gql (autoDownloadGQL: false).
[Error - 12:12:38 PM] Server initialization failed:
Request initialize failed with message: Cannot find module '@playlyfe/gql'
Require stack:
- /Users/nathanielpalmer/projects/ss-ecomm-frontend/noop.js
[2021-09-24T12:12:38.821] [INFO] gql-language-server - server connection shutting down

I'm assuming I need to set graphqlForVSCode.nodePath in VSCode settings but I'm not sure what I should set it to, since I can't figure out where @playlyfe/gql is actually installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions