Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worth updating the README.md to mention that this is not cross-platform #197

Open
Pomax opened this issue Nov 3, 2024 · 4 comments
Open

Comments

@Pomax
Copy link

Pomax commented Nov 3, 2024

Node and NPM are cross-platform, so if it's on npm, folks expect things to work regardless of whether they're (forced to) work with Windows or Linux/BSD (including macos). Since this project is heavily dependent on shell scripting and standard unix tools, Windows users are SoL, and it would be nice if the README.md could be updated to make it clear that this won't work on Window, even if it works in WSL, which is not Windows but just another way to virtualize/emulate a different OS.

(although in this case it also doesn't work in WSL using Node 20, citing /home/yourusername/.npm/_npx/61069fd06d154ce3/node_modules/@fathyb/carbonyl-linux-amd64/build/carbonyl: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory)

@Enzzo9
Copy link

Enzzo9 commented Nov 14, 2024

I got the same error...

@Enzzo9
Copy link

Enzzo9 commented Nov 14, 2024

Im on termux

@the-homeless-god
Copy link

the-homeless-god commented Dec 6, 2024

(although in this case it also doesn't work in WSL using Node 20, citing /home/yourusername/.npm/_npx/61069fd06d154ce3/node_modules/@fathyb/carbonyl-linux-amd64/build/carbonyl: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory)

WSL is not a Linux, it's situation when you're virtualizing Linux's distribution
So first of all need to figure out what's kinda of distribution has been installed
For example: Ubuntu 18

After that just install required staff on your distribution, because Ubuntu is not full to support everything

For example:

sudo apt-get update
sudo apt-get install libnss3-dev
sudo apt-get install libasound2

OR if you want to have a workability from the box just use Docker/Podman

I think it's not required to be added to documentation, because each distribution of Linux (and WSL wrapper) provides own definition of what's installed and provisioned out of the box

Have a fun!

@Pomax
Copy link
Author

Pomax commented Dec 6, 2024

It looks like you didn't fully read the original comment, which is about the fact that it doesn't run on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants