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

Random extension error causes it to not detect tooling #1030

Open
Brianggalvez opened this issue Aug 27, 2022 · 2 comments
Open

Random extension error causes it to not detect tooling #1030

Brianggalvez opened this issue Aug 27, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Brianggalvez
Copy link

Brianggalvez commented Aug 27, 2022

Describe the Bug

Sometimes the extensions fails and does not detect the tooling and ask for install them again. If I attempt to do so the output shows the following log:

Failed to get updates, error was:
Error: Failed to run
    at runTiCommand (/Users/brian/.vscode/extensions/tidev.titanium-sdk-1.0.1/node_modules/titanium-editor-commons/updates/titanium/sdk.js:124:11)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at checkLatestVersion (/Users/brian/.vscode/extensions/tidev.titanium-sdk-1.0.1/node_modules/titanium-editor-commons/updates/titanium/sdk.js:59:24)
    at async Promise.all (index 1)
    at Object.checkForUpdate (/Users/brian/.vscode/extensions/tidev.titanium-sdk-1.0.1/node_modules/titanium-editor-commons/updates/titanium/sdk.js:90:45)
    at async Promise.all (index 3)
    at Object.checkAllUpdates (/Users/brian/.vscode/extensions/tidev.titanium-sdk-1.0.1/node_modules/titanium-editor-commons/updates/index.js:32:21)

image

@Brianggalvez Brianggalvez added the bug Something isn't working label Aug 27, 2022
@Brianggalvez Brianggalvez changed the title Random extension error causes it to not dete Random extension error causes it to not detect tooling Aug 27, 2022
@ewanharris
Copy link
Collaborator

@Brianggalvez What version of the titanium CLI are you using? Based on the stacktrace, the specific command that failed was ti sdk list --releases --output json so it might be that you're using an older CLI version that doesn't include the new SDK registry usage?

@Brianggalvez
Copy link
Author

Well, running ti sdk list --releases --output json works properly. if I run ti -v it outputs 6.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants