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

If settings.json already exists picking tinygo target fails #10

Open
s-fairchild opened this issue Dec 22, 2022 · 2 comments
Open

If settings.json already exists picking tinygo target fails #10

s-fairchild opened this issue Dec 22, 2022 · 2 comments

Comments

@s-fairchild
Copy link

If settings.json already exists using the command pallet to pick tinygo target fails with the message in the screenshot below.

Screenshot from 2022-12-22 10-37-22

An example workflow that causes this

  1. .vscode is checked into a remote git repo.
  2. Repo is cloned on a 2nd computer
  3. There is no tinygo target selected when vscode is opened
  4. Picking a target results in
Command 'TinyGo target' resulted in an error (command 'vscode-tinygo.selectTarget not found)

Commenting out the settings created by this extension results in the same error.
Deleting settings.json allows the extension to pick a target and create a new settings.json

@aykevl
Copy link
Member

aykevl commented Jan 11, 2023

Does this also cause an error message on startup? Because I've seen something like that after updating Go or TinyGo and running tingyo clean.

@s-fairchild
Copy link
Author

@aykevl No error on startup, only when selecting a tinygo target.

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

2 participants