SchoofsKelvin / vscode-sshfs

Extension for Visual Studio Code: File system provider using SSH
GNU General Public License v3.0
543 stars 36 forks source link

Build prerequisites #370

Closed hamad12a closed 1 year ago

hamad12a commented 1 year ago

I am relying on VSCODE as my IDE, I tried to build this repo using yarn install but the event ended with multiple errors that concern resolving modules conflicts. Each time I update one of them then building with yarn build , and even the tasks within the repo, throw errors. I spent a whole day after the building procedure I found myself in endless failures. I know it sound like it's straightforward but please consider to add the build instructions; my work relies on this great extension!.

SchoofsKelvin commented 1 year ago

Could you post the logs?

Mind that I use Yarn version 3.1.0 (i.e. Yarn Berry) and your global Yarn version needs to be higher than 1.21.0 if I remember correctly. Yarn Berry now stores the current version of Yarn inside the repository itself, which Yarn >=1.21.0 knows to forward CLI commands to, but older versions don't.

SchoofsKelvin commented 1 year ago

As a small note: the GitHub Workflow/Action still works fine. I'll still have to update the runner/actions it use are (getting) deprecated, but this is separate from the actual build itself. I still suggest checking your Yarn version as a first step.