Questions tagged [snap]
114 questions
1
vote
1 answer
Unable to call API from Metamask Snap
I am currently working on a snap to integrate with XRPL. However, I have a problem when I want to get data from rippled server.
This is the URL that I am calling: POST https://s.altnet.rippletest.net:51234
This is my payload
{
"method":…

golobitch
- 1,466
- 3
- 19
- 38
1
vote
0 answers
snap install of Viber on Ubuntu 20.04 Focal Fossa Linux produces permission denied error
I have tried two different Viber packages available through snap, viber-unofficial.viber and viber-mtd.viber. Both packages produce the exact same error about WebEngine resources not found
sh: 1: xdg-mime: not found
Qt WebEngine ICU data not found…

JensenHealey907
- 11
- 1
1
vote
2 answers
snap Eclipse with JavaFX and snap-version of openjfx
Until yesterday I had the following dev environment perfectly working:
Ubuntu LTS 20.04
Eclipse (in Snap)
JavaFX (JARs and *.so's in local Folder, --module-path configured in project)
Yesterday "snap" came up and said: stop the app to let updates…

Synopsis
- 190
- 10
1
vote
1 answer
How do you fix require() is not defined in JS if there are no files, and no HTML?
I'm trying to make an AI text generator (using an API) and it says "ReferenceError: require is not defined", and I don't have a package JSON or HTML outside of it because I'm running it from a Snap! JavaScript function reporter. Any ideas? I've…

OrrinPants
- 69
- 1
- 7
1
vote
0 answers
Redirecting execution result into a file (Node.js app)
I'm trying to run a js file containing just one simple line:
\\file.js
console.log("a");
And redirect it into a txt file, like this:
node file.js > txt
File gets created but empty. If I execute the file without redirecting stdout, it prints…

Corina
- 15
- 7
1
vote
2 answers
How to enable intellisense in VS Code for C# when .net sdk installed via snap
I've downloaded this extension:
screen image
Working folder is selected, .csproj is selected. I did enable and disabled the extension, restarted VS Code, but still it didnt help.
There are only keywords that i'm using in the list, but no any…
user19214854
1
vote
0 answers
Ubuntu: using docker with snap and firewall is a problem
On a ubuntu 21.10, using docker as a snap (snap install docker). With my firewall enabled, i have a problem resolving DNS:
$ docker run bash ping www.google.com
==> error
$ docker run bash ping 8.8.8.8
==> ok
If I disable the firewall, all is ok…

jehon
- 1,404
- 15
- 21
1
vote
0 answers
how get access to host mysql database from my snap app
I'm building a nodejs app using sequalize to handle the mysql database. Now I'm trying to snap that app and I found an error connecting to mysql from the snap service. Which should be the correct way of snapping a nodejs app and get access to mysql…

Alejandro Alfonso
- 211
- 2
- 8
1
vote
1 answer
Postman not installed on ubuntu with snap
I'm trying to install postman on ubuntu 20.04 running on chromeos using snap
I first ran:
~$ sudo snap install postman
which appeared to work:
edit:
~/node/scrapedatatree$ glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor…

user1592380
- 34,265
- 92
- 284
- 515
1
vote
1 answer
Kdenlive crashes on render installed from snap store
I've recently installed kdenlive on fedora 35 using the snap store.
The issue is that when i try to render a video it crashes with error:
/snap/kdenlive/48/usr/bin/kdenlive: symbol lookup…

xor7
- 29
- 1
- 6
1
vote
5 answers
Snap applications not showing in "show applications", Ubuntu 20.04
Yesterday, after Ubuntu (or maybe Dell) installed some updates and I restarted, my snap applications were not showing on my sidebar, nor are they present in "show applications" or a normal search.
They are still installed and snap list still shows…

James Harrison
- 37
- 1
- 6
1
vote
0 answers
Need help to recover broken Nextcloud snap installation
I somehow managed to break my Nextcloud server! I guess I run a wrong snapd.service command and it broke my Nextcloud. The command that allegedly broke it was this:
sudo systemctl unmask snapd.service
Then I managed to get the server back running,…

gliepins
- 11
- 1
1
vote
2 answers
Snapcraft python script with module, staging issues
I am building a snap to test integration of a python script and a python SDK with snapcraft and there appears to be a conflict when two python 'parts' are built in the same snap.
What is the best way to build a snap with multiple python modules?
I…

iotdevAN
- 11
- 3
1
vote
1 answer
reinstall without snap but still looking for it
I deleted docker with:
sudo snap remove docker --purge
Then, I install docker following the doc guide (this)
All looks fine, but when I do:
$ docker -v
-bash: /snap/bin/docker: No such file or directory
It's like it still look for it in snap.
I…

AssertionError
- 136
- 1
- 10
1
vote
2 answers
Can't run snap apps on manjaro 'cannot open /proc/self/cgroup: Permission denied'
Recently I tried to run opera but nothing happened. So I tried to run it on terminal and got this error
cannot open /proc/self/cgroup: Permission denied
But I tried other snap apps such as code, it works fine,
and also recently saw a forum post…

Mihin Dissanayake
- 13
- 3