electron / electron-quick-start

Clone to try a simple Electron app
https://electronjs.org/docs/latest/tutorial/quick-start
Creative Commons Zero v1.0 Universal
10.98k stars 4.92k forks source link

electron not found #889

Closed noname29 closed 3 months ago

noname29 commented 3 months ago

I am using centos on Oracle's vm and I used npm install electron -g to install electron on centOS

[root@ilk testcases]# electron main.js 
/usr/lib/node_modules/electron/dist/electron: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory

I get this error above. I found some solutions that offer installation of packages with apt install yet my system uses yum install

codebytere commented 3 months ago

Thanks for reaching out!

Because we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. This forum is for raising bugs or requesting new features, and for most questions about Electron there are a lot of more appropriate community options. There are helpful people in this Discord or the subreddit that should be willing to point you in the right direction.