celest-dev / celest

The Flutter cloud platform
https://celest.dev
Other
232 stars 13 forks source link

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

Open CaseyHillers opened 3 months ago

CaseyHillers commented 3 months ago

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 commented 3 months ago

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: