Unabel to run hello-world cmd from snap in fedora 34 - fedora

I will appreciate it if anybody can tell me what's wrong here
Thanks in advance :)

Even I had the same issue and guess what? You have used sudo to install packages from sanp.
So run your cmd using sudo. And see if its help let us know.

Related

How do I fix the client error in package.json?

I have a project and I am trying to figure it out why it's not working. I clone it to my PC. Whenever i run npm start. This is what it give me. I don't know where and how to fix the error. Help will be much appreciate.
Thank you
enter image description here

How can I solve this error when I install DevStack in CentOS?

I try to install DevStack in CentOS, and I have finished these steps following this official website 'https://docs.openstack.org/devstack/latest/'. But when I excute './stack.sh',after few minutes, it occurred problem like that:
So anyone can help me?
Thank you very much!
I have solved the error.
I just remove mysql from my os, then try to run './stack,.sh' again.

No package MYSQL-community 5.7*

am very new to Cent Os. I have to install mysql on my cent os 6.9 version.
I have tried almost all commands,But am getting one or the other issue while installing
yum localinstall https://dev.mysql.com/get/mysql57-community-release-el6-11.noarch.rpm
if i use above command am getting Nothing to do
I know there are many answers,But none of the commands helping me to solve this.
Can someone please help me with this issue and to install mysql 5.* version on centos 6.9.
image links
https://i.stack.imgur.com/t0XEN.png
https://i.stack.imgur.com/WGkvn.png
Thank you
Please help to solve this

Installing mysql through terminal

I am having some issues getting sql to work when trying to set my rails project. I have the latest version of both ruby and rails, the issue I believe lies within my terminal PATH. When typing gem install mysql, I get the following error:
ERROR: While executing gem ... (Errno::EACCES) Permission denied #
rb_sysopen -
/Users/myName/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/mysql-2.9.1/COPYING.
And when echoing my PATH I get the following description:
/Users/myName/.rbenv/shims:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
This is a messed up path, and yes I have specified the PATH I want in the .bash_profile. My desired path looks like this:
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH" It just doesn't seem to work. Any ideas of what I am doing wrong? Running Sierra on a Macbook Pro 2015.
Thanks in advance for the help!
That error doesn't look like anything to do with your $PATH, which looks OK. It seems that you're trying to write to /Users/myName/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/mysql-2.9.1/COPYING but don't have permission. Maybe you installed something as root, and now root owns the gem files.
My guess is you need to fix the ownership of your .rbenv directory.
Try sudo chown -R myName /Users/myName/.rbenv, or if you want to be more rigorous, ls -l /Users/myName/.rbenv and see what the permissions look like before fixing whichever need it.
Managed to solve the issue with the help of this thread: brew install mysql on mac os. And with using my brain a bit more and installing the lated command tools... Hope this can help someone else who may have forgotten Xcodes part in it all.

XAMPP MySQL Database won't run

So I looked around and saw someone with the same problem as me and the solution was to use Terminal and kill some processes but I still get the same error. Why is that?
I don't know if my question is clear or not. Basically I need another alternative solution to fix this problem.
If the log shows an "XAMPPErrorDomain error 1" error, then its a permission problem. To solve this on OS X, try this:
sudo chmod 600 /Applications/XAMPP/xamppfiles/etc/my.cnf