sandbox write, sandbox edit, or sandbox run has started. A file you change in the sandbox another way, such as in a code editor connected to the sandbox, isn’t included until it’s committed. To include it, run any sandbox run command, then create the checkpoint. If the command can’t confirm that those commits finished, it fails with COMMIT_FLUSH_PENDING instead of checkpointing a stale state. Wait a moment and run it again.
sandbox commands don’t require a local project. Target an app by passing --app-id, setting the BASE44_APP_ID environment variable, or running the command from a linked project if you have one.
This command needs the
sandbox:write permission. The CLI requests it when you sign in, and an existing session cannot gain it afterwards. If the command fails with an authorization error, run base44 login again to start a session that has it.Usage
Flags
Output
The command returns JSON:See also
- Cloud sandbox: How the sandbox works, and what you can change in it
sandbox edit: Apply exact string replacements to a filesandbox write: Create a new file in the sandboxsandbox run: Run a shell command in the sandbox