Het forum

PlayOnMac cannot locate netcat

PlayOnMac won't run because it cannot locate netcat, even when it's installed

Auteur Antwoorden
themadpro Woensdag 15 Juni\ 2022 om 19:52
themadpro

Hi, First Post!

I tried updating PlayOnMac for the first time in years, and got a rather strange error message:

PlayOnMac cannot find nc (from NetCat)
You need to install it to continue


This is strange because I already have nc and installed a redundant copy with homebrew for good measure. So what's the matter?

Additional System Info:

* PlayOnMac: 4.4.3
* OS: MacOS Monterey 12.4
* Processer: Intel
Quentin PÂRIS Woensdag 15 Juni\ 2022 om 19:55
Quentin PÂRISAnonymous

Really strange, netcat should be included in PlayOnMac package..

Where is it installed? Does the command "which nc" works?

themadpro Woensdag 15 Juni\ 2022 om 20:35
themadpro

Oh wow, hi!

% which nc
/usr/local/bin/nc

It's definitely there.

Quentin PÂRIS Donderdag 16 Juni\ 2022 om 21:25
Quentin PÂRISAnonymous

Does it exist in /usr/bin?

ls /usr/bin/nc

themadpro Vrijdag 17 Juni\ 2022 om 1:08
themadpro

It also exists under `/usr/bin/nc`, yes

Quentin PÂRIS Zondag 19 Juni\ 2022 om 19:07
Quentin PÂRISAnonymous

Maybe you can try to run PlayOnMac in command line:

$ cd /Applications/PlayOnMac.app/Contents/Resources/playonlinux/

./playonmac

 

See what error appears

themadpro Zondag 19 Juni\ 2022 om 21:15
themadpro

Same error as before, but at least with some more console output:

% cd /Applications/PlayOnMac.app/Contents/Resources/playonlinux/
% ./playonmac
env: node: No such file or directory
Please install python before trying to run PlayOnMac
env: node: No such file or directory
env: node: No such file or directory
[main] Message: PlayOnMac (4.4.3) is starting
[clean_tmp] Message: Cleaning temp directory
env: node: No such file or directory
env: node: No such file or directory
env: node: No such file or directory
env: node: No such file or directory
env: node: No such file or directory

 

PlayOnMac cannot find nc (from NetCat)
You need to install it to continue

 

Aangepast door themadpro

themadpro Maandag 20 Juni\ 2022 om 10:32
themadpro

Turns out, I somehow uninstalled node.js. Reinstalling node fixes everything, though I had no clue from the error message.

 

I might consider opening a PR to add a new warning message instead of the somewhat misleading NetCat error that fires after 7 `env: node: No such file or directory` errors. Would that be somewhere under https://github.com/PhoenicisOrg/scripts ?

Aangepast door themadpro

Quentin PÂRIS Maandag 20 Juni\ 2022 om 10:37
Quentin PÂRISAnonymous

Yes sure! (github.com/PlayOnLinux/POL-POM-4/)

This error looks very strange though

themadpro Dinsdag 21 Juni\ 2022 om 19:19
themadpro

Flag