srikanth235 / privy

An open-source alternative to GitHub copilot that runs locally.
MIT License
870 stars 43 forks source link

Privy Not working in Mac for some Reason #23

Closed theashishmaurya closed 7 months ago

theashishmaurya commented 7 months ago

I am trying Privy to load, but It has been stuck in a loading state forever.

image

Also, i am not able to access any command or any functionality

srikanth235 commented 7 months ago

Hi @theashishmaurya ,

Just to be sure, I uninstalled it and reinstalled it again. It is working fine as expected. Can you please try restarting VSCode and/or reinstalling the extension ?

Screenshot 2024-02-23 at 13 38 13

Thanks, Srikanth.

theashishmaurya commented 7 months ago

A couple of things I did, installing/uninstalling privy and restarting VsCode. but nothing works. When ever I try to click on any action button in privy, I shows command not found.

image
theashishmaurya commented 7 months ago

I tried it in Widow Works fine. Do you think there is special kind of permission needed in mac to run it? image

srikanth235 commented 7 months ago

Strange. I use a Macbook M1 Pro daily. Never faced this. Did you try restarting the system?

theashishmaurya commented 7 months ago

Strange. I use a Macbook M1 Pro daily. Never faced this. Did you try restarting the system?

Yes, mine is M2, and below is the error I can see in the transform.

image

I am more than happy to look more and make a Pr to fix this but let me know if it's an error on my side/ system or something to do with the Privy extension itself.

srikanth235 commented 7 months ago

Maybe, this has something to do with the VSCode version. Can you also please share the VSCode version you are using? Mine is

Screenshot 2024-02-23 at 14 16 21
srikanth235 commented 7 months ago

I am more than happy to look more and make a Pr to fix this but let me know if it's an error on my side/ system or something to do with the Privy extension itself.

Yes, this would greatly help. As I don't have access to M2 mac, it is unclear to me where things are going wrong.

theashishmaurya commented 7 months ago

Yeah, this was the issue, Updated the vscode solved it but, now I am getting this issue I am trying code run codeollama

image
srikanth235 commented 7 months ago

This seems to be a known issue: Ref: https://stackoverflow.com/questions/67698176/error-loading-webview-error-could-not-register-service-workers-typeerror-fai

Please close the vs code first and in the terminal try: killall code.

theashishmaurya commented 7 months ago

Was able to run this, Thanks for the help. Also amazing project, Would love to help out in case you have something you need help with in this project.

image
theashishmaurya commented 7 months ago

I am more than happy to look more and make a Pr to fix this but let me know if it's an error on my side/ system or something to do with the Privy extension itself.

Yes, this would greatly help. As I don't have access to M2 mac, it is unclear to me where things are going wrong.

@srikanth235 what I understand is, vscode which uses old node let's say node 16 is failing. Might need to update the doc in requirement section.

srikanth235 commented 7 months ago

Was able to run this, Thanks for the help. Also amazing project, Would love to help out in case you have something you need help with in this project.

Awesome. Thanks a lot for your kind words. Please check out our current open issues with #good-first-issue tag. The instructions for setting the project up locally for development are outlined in the contributions guide. In case if you are interested, please do give them a try.