- Goal: Trying to run
mapps init
to set up a new local project for monday Code. - OS: macOS (Apple Silicon/darwin-arm64)
- Node Versions Used: Tried Node v22.14.0 and Node v20.19.0 (using
nvm
). - CLI Version:
@mondaycom/apps-cli/4.6.0
- Problem:** When running
mapps init
inside the project directory, it prompts for the API token, successfully creates/updates ~/.config/mapps/.mappsrc, but then immediately exits. It never prompts to select an app to link or a template, and does not create themonday-code.json
file. - Troubleshooting Done: I’ve confirmed the directory is clean (
ls -a
), tried reinstalling the CLI (sudo npm uninstall/install
), tried both Node v22 and v20, tried the --appId flag, and checked --verbose output (which showed no extra errors after authentication).
Any ideas?