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

Cryptic "Permission denied" when building plugin #14

Open
bleonard252 opened this issue Apr 15, 2024 · 1 comment
Open

Cryptic "Permission denied" when building plugin #14

bleonard252 opened this issue Apr 15, 2024 · 1 comment

Comments

@bleonard252
Copy link

bleonard252 commented Apr 15, 2024

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants