Capacitor installation failed!

Hi, I’m just installing wappler and I get this error!

Mac Homebrew is correctly installed.

Checking NodeJS installation and version…
zsh:1: command not found: node
NodeJS is missing!
Mac Homebrew is correctly installed.

Installing NodeJS …
Running brew update --auto-update
Error: Could not ‘git stash’ in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core!
Please stash/commit manually if you need to keep your changes or, if not, run:
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
git reset --hard origin/master
Warning: No available formula with the name “node”.
It was migrated from homebrew/cask to homebrew/core.

Checking Capacitor installation and version…
zsh:1: command not found: npx
Capacitor is missing!

Installing Capacitor …
zsh:1: command not found: npm
Capacitor installation failed!

On a Mac you should always install NodeJS by downloading it from the official site at https://nodejs.org/en/

As installing it with homebrew don’t always work.

Make sure you fully restart Wappler after installation.

2 Likes