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 · 7 comments
Open

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

NsdHSO opened this issue Apr 28, 2023 · 7 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.

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