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

Windows installer results in celest returning permission denied on git bash but runs fine on powershell #83

Open
CaseyHillers opened this issue Mar 15, 2024 · 1 comment
Labels
triaging Initial investigation into the issue

Comments

@CaseyHillers
Copy link

I went to https://celest.dev/download and used the windows x64 installer.

git bash is a common terminal used for Windows devs. This seems to be an issue from the installer side.

After installing, my environment reproduces the following:

git bash

$ celest --version
bash: /c/Users/casey/AppData/Local/Microsoft/WindowsApps/celest: Permission denied

powershell

$ celest --version
Celest version: 0.3.4
Dart SDK version: 3.4.0-99.1.beta (C:\Users\casey\Documents\flutter\bin\cache\dart-sdk\bin\dart)

Expectation

Windows installer installs the celest exe without issue for git bash.

@sixtusagbo
Copy link

I just installed the same version 0.3.4 of the program and it runs fine on both Powershell and Git Bash:

image

The problem you're having is from Git Bash, not from Celest CLI. You can try these solutions:

  • According to this, Running Git Bash as administrator once fixes the issue. If this doesn't work, the next one will definitely work.
  • From this issue in git-for-windows/git repository, uninstalling and reinstalling git solved the issue for some persons. Try to update your Git from time to time.

@dnys1 dnys1 added the triaging Initial investigation into the issue label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaging Initial investigation into the issue
Projects
None yet
Development

No branches or pull requests

3 participants