Auto-install NodeJS on MacOS is broken (Gatekeeper)

Wappler Version : 4.9.1
Operating System : MacOS
Server Model: Capacitor
Database Type: ?
Hosting Type: ?

Expected behavior

brew install node

Actual behavior

After install, Gatekeeper complaining about “node” binary (and possibly +100 related files)

How to reproduce

Start Capacitor project on Mac without NodeJS installed

You have to run xattr -dr com.apple.quarantine [location]:

which node
# /usr/local/opt/node@16/bin/node
xattr -dr com.apple.quarantine /usr/local/opt/node@16 # without /bin/node

Same thing for stripe binary

Edit: Rofl, that xattr only worked for the Terminal, Gatekeeper is still complaining when starting Wappler, what a mess - is Wappler using a different node binary?

Edit 2: Wappler is using binary at /usr/local/bin/node, which is actually NodeJS 18. I must’ve installed NodeJS 16 before

This solved:

xattr -dr com.apple.quarantine /usr/local/bin/node

Fixed in Wappler 5.4.1

This topic was automatically closed after 24 hours. New replies are no longer allowed.