Вы находитесь здесь

Форум

PlayOnMac cannot locate netcat

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

Автор Replies
themadpro Wednesday 15 June 2022 at 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 Wednesday 15 June 2022 at 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 Wednesday 15 June 2022 at 20:35
themadpro

Oh wow, hi!

% which nc
/usr/local/bin/nc

It's definitely there.

Quentin PÂRIS Thursday 16 June 2022 at 21:25
Quentin PÂRISAnonymous

Does it exist in /usr/bin?

ls /usr/bin/nc

themadpro Friday 17 June 2022 at 1:08
themadpro

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

Quentin PÂRIS Sunday 19 June 2022 at 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 Sunday 19 June 2022 at 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

 

Edited by themadpro

themadpro Monday 20 June 2022 at 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 ?

Edited by themadpro

Quentin PÂRIS Monday 20 June 2022 at 10:37
Quentin PÂRISAnonymous

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

This error looks very strange though

themadpro Tuesday 21 June 2022 at 19:19
themadpro

Flag

Вы находитесь здесь: Index > PlayOnMac > PlayOnMac cannot locate netcat

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