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

Error command failed when exec wakatime-cli-darwin-arm64 #346

Open
NsdHSO opened this issue Apr 28, 2023 · 9 comments
Open

Error command failed when exec wakatime-cli-darwin-arm64 #346

NsdHSO opened this issue Apr 28, 2023 · 9 comments

Comments

@NsdHSO
Copy link

NsdHSO commented Apr 28, 2023

I the developer console I got this
[Extension Host] [WakaTime][ERROR] Error: Command failed: /Users/user.../.wakatime/wakatime-cli-darwin-arm64 --entity /Users/user.../Documents/work/vue/vanilajs/index.html --plugin "vscode/1.77.3 vscode-wakatime/24.0.10" --lineno 33 --cursorpos 40 --lines-in-file 61 --alternate-project vanilajs --project-folder /Users/user.../Documents/work/vue/vanilajs

This error I got in vscode but the same in webstrom.
Can someone help me with this error or solve this problem and solve it?

@alanhamlett
Copy link
Member

Does that binary /Users/user.../.wakatime/wakatime-cli-darwin-arm64 exist?

@alanhamlett alanhamlett changed the title chore: don't log in dashboard Error command failed when exec wakatime-cli-darwin-arm64 Apr 28, 2023
@NsdHSO
Copy link
Author

NsdHSO commented Apr 28, 2023

yes in my computer I have
image

@alanhamlett
Copy link
Member

alanhamlett commented Apr 28, 2023

Can you execute that program via command line with something like:

./wakatime-cli-darwin-amd64 --version

You can also delete that whole ~/.wakatime/ folder then restart vscode so it re-downloads wakatime-cli, which might fix things.

@NsdHSO
Copy link
Author

NsdHSO commented Apr 28, 2023

I receive this ~/.wakatime/wakatime-cli-darwin-arm64 --version v1.73.0

@alanhamlett
Copy link
Member

That looks like it's working. Let's try deleting ~/.wakatime/ folder and restarting vscode to see if that fixes it.

@NsdHSO
Copy link
Author

NsdHSO commented Apr 28, 2023

I deleted it and i got this.ERR [Extension Host] [WakaTime][ERROR] Error: Command failed: /Users/../.wakatime/wakatime-cli-darwin-arm64 --entity /Users/../Documents/work/vue/vanilajs/index.html --plugin "vscode/1.77.3 vscode-wakatime/24.0.10" --lineno 38 --cursorpos 1 --lines-in-file 61 --alternate-project vanilajs --project-folder /Users/../Documents/work/vue/vanilajs

@alanhamlett
Copy link
Member

That's very strange, because it ran from command line so vscode should also be able to run it. Can you jump on a Zoom call with me to debug it? Send me an email alan@wakatime.com and I'll send a Zoom meeting link.

@AstaDK
Copy link

AstaDK commented Nov 22, 2024

Faced the same issue with:
Version: 1.96.0-insider
and ~/.wakatime/wakatime-cli-darwin-arm64 --version v1.105.2

console.ts:137 [Extension Host] [WakaTime][ERROR] Error: Command failed: /Users/.../.wakatime/wakatime-cli-darwin-arm64 --entity /Users/.../file.html --plugin "vscode/1.96.0-insider vscode-wakatime/24.8.0" --lineno 19 --cursorpos 15 --lines-in-file 108 --alternate-project abc --project-folder /Users/abc

@NsdHSO NsdHSO closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2024
@alanhamlett alanhamlett reopened this Nov 26, 2024
@alanhamlett
Copy link
Member

Let's leave it open unless it's working now?

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

3 participants