You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the following gets an error saying that the file or folder does not exist:
./pi-power-button/script/install
(unfortunately the text is in swedish, so ive translated it in the title of the issue)
looking in the folder with "ls" i can see the install file:
And this is on Raspberry Pi OS Lite (32-bit) running on a Raspberry Pi 4 Model B.
The text was updated successfully, but these errors were encountered:
From what I can see from your second screenshot it seems you already are inside of the $/pi-power-button/script/-directory when running the install-command. If I remember correctly dot-slash ./ in the beginning of the command tries to run the command from where currently are and in this case it wants to run ~/pi-power-button/script/pi-power-button/script/install which does not exist. While in that directory ./install would have done it I believe. At least I think this is the case here.
From what I can see from your second screenshot it seems you already are inside of the $/pi-power-button/script/-directory when running the install-command. If I remember correctly dot-slash ./ in the beginning of the command tries to run the command from where currently are and in this case it wants to run ~/pi-power-button/script/pi-power-button/script/install which does not exist. While in that directory ./install would have done it I believe. At least I think this is the case here.
you are probably correct. thanks for pointing that out. now atleast i know what to check for the next time i get an error like that trying to run something on my pi. :)
Cloning the repo:
git clone https://github.com/Howchoo/pi-power-button.git
Running the following gets an error saying that the file or folder does not exist:
./pi-power-button/script/install
(unfortunately the text is in swedish, so ive translated it in the title of the issue)
looking in the folder with "ls" i can see the install file:
And this is on Raspberry Pi OS Lite (32-bit) running on a Raspberry Pi 4 Model B.
The text was updated successfully, but these errors were encountered: