Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

File Resolution inconsistent #35

Closed
ChiefORZ opened this issue Jun 24, 2018 · 3 comments
Closed

File Resolution inconsistent #35

ChiefORZ opened this issue Jun 24, 2018 · 3 comments
Labels
needs-reproduction windows issues reported on windows

Comments

@ChiefORZ
Copy link

ChiefORZ commented Jun 24, 2018

While using Intellisense in an .graphql file, the vscode debug tab for GraphQL Language Server sometimes throws the following error:

ZEBRA: GraphQLProjectConfig {
  config: 
   { schemaPath: 'packages/api-graphql/src/schema.graphql',
     includes: [ '**/*.graphql' ],
     extensions: { endpoints: [Object] } },
  configPath: 'e:\\dev\\gql-demo\\.graphqlconfig.yml',
  projectName: 'app' } e:\dev\gql-demo\packages\api-graphql\src\schema.graphql
(node:14416) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 45): Error: ENOENT: no such file or directory, open 'e:\e%3A\dev\gql-demo\packages\react-apollo\src\queries\posts.graphql'

i could imagine that it is a Windows-only problem 😉

@ChiefORZ ChiefORZ changed the title File Resolution incostistent File Resolution inconsistent Jun 24, 2018
@divyenduz divyenduz added windows issues reported on windows needs-reproduction labels Jun 25, 2018
@divyenduz
Copy link
Collaborator

This is released in 0.1.4 (which is a preview release with CodeLens feature as well) 🎉

Feedback please 👍👇

@ChiefORZ
Copy link
Author

ChiefORZ commented Sep 8, 2018

@divyenduz nice feature!

but no, i meant following error:

the extension tries to open the file e:\e%3A\dev\gql-demo\packages\react-apollo\src\queries\posts.graphql - this is the file im currently in.
this path is not a valid path...

somehow he attaches the drive twice to the beginning of the path, once normal and once escaped/encoded: *e:\e%3A*

@dontsave
Copy link

Running into this as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-reproduction windows issues reported on windows
Projects
None yet
Development

No branches or pull requests

3 participants