Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENOENT when running "Factorio: Select Version" #162

Open
Cooldude2606 opened this issue Dec 20, 2024 · 0 comments
Open

ENOENT when running "Factorio: Select Version" #162

Cooldude2606 opened this issue Dec 20, 2024 · 0 comments

Comments

@Cooldude2606
Copy link
Contributor

Cooldude2606 commented Dec 20, 2024

TL;DR when running "Factorio: Select Version" from the command pallet i get the following error:

image

There are no factorio versions defined in the workspace settings, and my user settings only contain one version which is the default steam path for factorio C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\factorio.exe

The path C:\Program Files\Factorio does exist and is a 0.16.51 install of factorio, the doc-html folder does not include any json files.

Note: I am not attempting to select this 0.16 version, I am unable to open the menu to select a version, I assume because it is attempting to scan default locations for factorio.

Cooldude2606 added a commit to Cooldude2606/vscode-factoriomod-debug that referenced this issue Dec 20, 2024
Fixes: ENOENT when running "Factorio: Select Version" justarandomgeek#162
By not throwing on error when detecting version and catching
errors thrown by fs.readFile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant