Comments (6)
@guledali I'm really sorry for late reply.
What do mean add to your PATH?
I just meant that you need make sure watchman localisation is on PATH environmental variable for your system/ user
Straight from watchman docs:
Extract the zip file and make sure that watchman.exe is located in a directory that is in your PATH.
Quick instructions for imo the quickest way to do it:
- So you put watchman directory in
C:\Users\USERNAME\AppData\Local\
(sowatchman.exe
is inC:\Users\USERNAME\AppData\Local\watchman\watchman.exe
) - Open PowerShell as Administrator
- Add directory to PATH env variable by using
setx path "%path%;C:\Users\USERNAME\AppData\Local\watchman"
- You can check that it was added:
$ENV:PATH
- And that watchman is found:
watchman -v
Voilà!
//EDIT
And btw. my first reply was misleading - unfortunately graphql-languege-service
is using watchman, and so all the extensions 😢
from vscode-graphql.
Quick instructions for imo the quickest way to do it:
1. So you put watchman directory in `C:\Users\USERNAME\AppData\Local\` (so `watchman.exe` is in `C:\Users\USERNAME\AppData\Local\watchman\watchman.exe`) 2. Open PowerShell as Administrator 3. Add directory to PATH env variable by using `setx path "%path%;C:\Users\USERNAME\AppData\Local\watchman"` 4. You can check that it was added: `$ENV:PATH` 5. And that watchman is found: `watchman -v`
Voilà!
@vadistic Your instructions worked, but also replaced all the custom directories that were in the User Path variable with the system Path directories. As a result, I started to have issues while installing or reinstalling node modules with npm (like when installing a module, it would finish successfully, but node couldn't find it later).
I needed to restore my computer to a point before I did everything you said in order to fix the issue.
I'm pretty sure it wasn't your intention, but be more careful with what you suggest to people. There's always going to be people that follow instructions or tutorials without first verifying what it truly does (as me, in this case).
from vscode-graphql.
I think you mixed up GraphQL extensions. I think you are trying to use this one. AFAIK vscode-graphql by Prisma does not require watchman 😃
(Btw. To install watchman - just download the zip, extract it somewhere - i.e to C:\Users\USERNAME\AppData\Local\
& add to your PATH
)
from vscode-graphql.
I don't need the watchman and I don't have that other plugin installed, just prisma one
So when I hover over (title: String!)
Is this all the package plugin does also go to definition support not working.
I do notice that it highlights the code if I hold CTRL
and click on some definition.
from vscode-graphql.
@vadistic Installing watchman C:\Users\USERNAME\AppData\Local\
& add to your PATH
)
What do mean add to your PATH? I actually navigated to that PATH
put the watchman.exe
file their and it still didn't work.
from vscode-graphql.
watchman is no longer required for the language server, and thus for this extension!
enjoy windows users! if you have any other issues with paths/etc, please open a new ticket!
from vscode-graphql.
Related Issues (20)
- Add support for graphql.config.ts HOT 4
- Extension issue
- Nothing works except highlighting HOT 10
- Inline fragment(s) not working HOT 6
- Query result does not display tags HOT 2
- 0.3.21 does not load: Cannot find module 'react' HOT 1
- Known Issues, Maintainers & Contributors Needed
- Roadmap
- GraphQL icon clutter HOT 3
- Cannot execute any query or mutation
- Dependency Dashboard
- How do i disable "Execute Query"? HOT 1
- Syntax Error in .vue files HOT 4
- Action Required: Fix Renovate Configuration
- This Extension Has Been Migrated! HOT 2
- GraphQL Configuration not pulling in JWT from environment. HOT 3
- Incorrect deployment to 0.3.50 HOT 1
- Extension crashed on VSCode 1.66.0 (Reading 'timeoutType') HOT 1
- Autocomplete does not work at all HOT 3
- GraphQL language server fails to start due to `Cannot read properties of undefined (reading 'timeoutType')` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-graphql.