SAP / node-rfc

Asynchronous, non-blocking SAP NW RFC SDK bindings for Node.js
Apache License 2.0
249 stars 73 forks source link

stealth mode can't be disabled on my mac #251

Closed vivianxh closed 2 years ago

vivianxh commented 2 years ago

Due to company policy, we are not about to disable the stealth mode, please see the terminal:

~ % sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode off Password: Firewall settings cannot be modified from command line on managed Mac computers.

So the step was failed to set. Then I tried the next stpes without stealthmode off. I got another error when running paths_fix.sh

nwrfcsdk % sudo ./paths_fix.sh Password: error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: .dylib (No such file or directory) error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: .dylib (No such file or directory) error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: libicui18n.50.dylib (No such file or directory)

Please have a try on your company mac, maybe you will get the same error. Is there any workaround to bypass the error?

bsrdjan commented 2 years ago

Which NWRFC SDK version are you using and why paths' fix needed?

vivianxh commented 2 years ago

Hi @bsrdjan

NWRFC SDK version: nwrfc750P_8-80002761. I followed the guide you provided in this repo, see the readme: https://github.com/sap/node-rfc/blob/main/doc/installation.md#macos

Thanks, Vivian

bsrdjan commented 2 years ago

The disabled stealth mode is not required any more, the requirement will be removed from the documentation.