Forums

PlayOnMac cannot locate netcat

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

Auteur Réponses
themadpro Mercredi 15 Juin 2022 à 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 Mercredi 15 Juin 2022 à 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 Mercredi 15 Juin 2022 à 20:35
themadpro

Oh wow, hi!

% which nc
/usr/local/bin/nc

It's definitely there.

Quentin PÂRIS Jeudi 16 Juin 2022 à 21:25
Quentin PÂRISAnonymous

Does it exist in /usr/bin?

ls /usr/bin/nc

themadpro Vendredi 17 Juin 2022 à 1:08
themadpro

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

Quentin PÂRIS Dimanche 19 Juin 2022 à 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 Dimanche 19 Juin 2022 à 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

 

Edité par themadpro

themadpro Lundi 20 Juin 2022 à 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 ?

Edité par themadpro

Quentin PÂRIS Lundi 20 Juin 2022 à 10:37
Quentin PÂRISAnonymous

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

This error looks very strange though

themadpro Mardi 21 Juin 2022 à 19:19
themadpro

Flag

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com