electron-react-boilerplate / electron-react-boilerplate

A Foundation for Scalable Cross-Platform Apps

Home Page:https://electron-react-boilerplate.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does Electron and the boilerplate work on WSL environments?

parisosuch-dev opened this issue · comments

Summary

I was trying to run this in a WSL environment on windows (using Debian). Could not get it to work after installing the dependencies.

Ran into this error:

/home/user/test/electron-react/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
[electronmon] app exited with code 127, waiting for change to restart it
[electronmon] waiting for a change to restart it

Same here. WSL2 Ubuntu on Windows 11

I am following this other project, a journaling app using the electron boiler plate. [here] This project does not support Windows as well. So, I think it has something to do with the WSL environment not working with the boilerplate. If I find an answer or some form of validation, I will get back to you here.

Same here. WSL2 Ubuntu on Windows 11

it seems as if we are probably not going to get an answer to the issue here. Seeing too many issues that are aged quite a ways out. So far have not been able to get it working on WSL2 Debian or Ubuntu. You (@DaviRJ ) can however, get it working on regular windows. Sucks you can't develop in a WSL env though. I do recommend downloading GitBash for Windows if you do want Linux commands with a Windows binary. Good luck 🖖🏼