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

Snap startup error: Cannot find package 'axios' #7855

Closed
CodeShakingSheep opened this issue Aug 27, 2024 · 5 comments
Closed

Snap startup error: Cannot find package 'axios' #7855

CodeShakingSheep opened this issue Aug 27, 2024 · 5 comments
Labels

Comments

@CodeShakingSheep
Copy link

Describe the bug

I have pgadmin4 installed via snap. I can see that pgadmin4 was updated from version 8.10 to version 8.11 14 hours ago. Since then pgadmin4 doesn't start anymore. Before it was working fine. The error message is Cannot find package 'axios'. Further details see screenshot.

To Reproduce

Steps to reproduce the behavior:

  1. Install version 8.10 of pgadmin4 via snap
  2. Update pgadmin4 to version 8.11 via snap

Expected behavior

pgadmin4 should start successfully.

Error message

A JavaScript error occurred in the main process
Uncaught Exception:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'axios' imported from /snap/pgadmin4/8/usr/pgadmin4/bin/resources/app/src/js/pgadmin.js
    at packageResolve (node:internal/modules/esm/resolve:861:9)
    at moduleResolve (node:internal/modules/esm/resolve:934:18)
    at defaultResolve (node:internal/modules/esm/resolve:1176:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39)
    at link (node:internal/modules/esm/module_job:86:36)
Gtk-Message: 22:02:45.961: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
libpxbackend-1.0.so: cannot open shared object file: No such file or directory
Failed to load module: /home/uh/snap/pgadmin4/common/.cache/gio-modules/libgiolibproxy.so

Screenshots

image

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version: 22.04
  • Mode: Desktop
  • Package type: Snap

Additional context

Add any other context about the problem here.

@adityatoshniwal
Copy link
Contributor

pgAdmin team do not maintain snap packages. Please raise the issue to the maintainer.
We're not able to reproduce the issue with our installers.

@adityatoshniwal adityatoshniwal closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
@CodeShakingSheep @adityatoshniwal and others