SteamDeckHomebrew / cli

3 stars 9 forks source link

Cryptic "Permission denied" when building plugin #14

Open bleonard252 opened 6 months ago

bleonard252 commented 6 months ago

It prints docker ps, and then the following. If it helps, this is using Podman symlinked as the Docker command.

INFO [decky::plugin] Looking for package.json...
INFO [decky::plugin] Looking for plugin.json...
INFO [decky::plugin] Looking for deck.json...
INFO [decky::cli::plugin::build] Creating temporary build directory
INFO [decky::cli::plugin::build] Building plugin
INFO [decky::cli::plugin::build] Plugin does not have a custom backend
INFO [decky::cli::plugin::build] Building frontend
Line:  EACCES  EACCES: permission denied, open '/plugin/_tmp_2_4e37276d30ac5eea847a9415b74a16b0'
Line: 
Line: 
Line: 
Line: error code: 0
Line: pnpm lockfile not found or other error occurred, please report this issue to the CI maintainer and the plugin developer.
Error: Failed to build frontend. There might be more information in the output above.
catherinetcai commented 4 months ago

I just poked around in the source code a bit. The code seems to handle things a little differently depending on Docker vs. Podman with regards to user permissions (Docker - root, Podman - rootless). Can you try temporarily removing the symlink to Docker and re-running the command?