jschr/electron-react-redux-boilerplate

libnss3.so - watch-html when running

Lemorz56 opened this issue · 4 comments

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

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

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 😃

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

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! ☺️