sanity-io / vscode-sanity

Visual Studio Code extension for developing applications powered by Sanity.io
MIT License
51 stars 8 forks source link

how make use of vscode-sanity #11

Closed SADANANDKUMAR closed 2 years ago

SADANANDKUMAR commented 2 years ago

vscode-sanity

I have added successfully sanity.io in vscode now how to make use of it while clicking on #execute query its shows an error like .....Could not resolve sanity.json configuration file

davidadeola commented 2 years ago

Hey @SADANANDKUMAR ,

The issue is because your windows PC has Powershell blocking its access from creating an internal access to VSCode using powershell.

A quick solution is to use:

npx sanity init

This will enable it access it Globally.

SADANANDKUMAR commented 2 years ago

@davidadeola thanks its working now