jschr / electron-react-redux-boilerplate

A minimal boilerplate to get started with Electron, React and Redux.
556 stars 130 forks source link

libnss3.so - watch-html when running #109

Closed Lemorz56 closed 3 years ago

Lemorz56 commented 3 years ago

Getting this error when running npm run develop and then it hangs

Windows 10, npm install works without errors.

[14:49:01] Starting 'watch-html'... /mnt/d/CODE/electron-react-redux-boilerplate/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

pronebird commented 3 years ago

Does it happen on Windows? Electron should not require libnss3.so on Windows.

Lemorz56 commented 3 years ago

Does it happen on Windows? Electron should not require libnss3.so on Windows.

Yeah sorry my bad, I was using WSL. Tried after I did apt install libnss3 but hangs on starting html-watch. Willtry with the normal windows now.

Is it possible to use this with WSL? Or maybe that's more related to electron itself then this repo. Sorry if so 😃

pronebird commented 3 years ago

I guess it's more related to Electron. I honestly don't have an answer. Quick googling reveals that there are some efforts to make it work under WSL, i.e: https://gist.github.com/caseywatts/9700b402b6b51d1d6af9f0b206739770

Lemorz56 commented 3 years ago

I guess it's more related to Electron. I honestly don't have an answer. Quick googling reveals that there are some efforts to make it work under WSL, i.e: https://gist.github.com/caseywatts/9700b402b6b51d1d6af9f0b206739770

Thanks a lot! ☺️