Troubleshooting
Recover from common project creation, provider, server, and Studio failures.
Start with the symptom you see, apply the check, then retry the smallest failed step.
Project creation fails
- Unsupported Node version: install Node 24 or newer, confirm with
node --version, and run Creator again. Node 22.19 is not enough for this release. - Installation fails: enter the retained project directory, run
npm install, then continue withnylorun up,nylorun configure, andnpm run dev. - Setup is cancelled: Creator keeps files already written. Resume with the commands below.
- No interactive terminal: create the project, then start Runtime and
configure it from an interactive terminal. Creator no longer has
--skip-config. A non-interactive start without a stored host credential exits and names that setup.NYLORUN_DEV_MODEL=fixtureskips the prompt.
cd my-agent
nylorun up
nylorun configure
npm run devThe provider does not respond
- Run
nylorun configureagain against a running Runtime and verify the selected provider and model in the vault. - Confirm the provider account has model access, quota, and valid billing.
- Read the Runtime log (
nylorun logs) for the original error. Studio shows a safe terminal error and does not receive raw provider payloads. - If you intended to seed the vault, confirm
MODEL_PROVIDERandMODELwere set before the first start, and thatMODEL_PROVIDER_API_KEYor a provider-native key was available. Custom providers also needMODEL_PROVIDER_BASE_URL. After the first write, change the vault — do not expect a later.envedit to replace it. - See Models for vault and secret handling.
Port 8787 or 4161 is already in use
Set --port or PORT to change Runtime's listen port. Start Studio separately:
nylorun up --port 8788
npm run dev -- --no-autostart --port 8788
nylorun studio --runtime-url http://127.0.0.1:8788 --studio-port 4162PORT must be an integer from 1 through 65535. The 0.13 default of 3000 no
longer applies. If status says port-conflict, another Runtime already owns that
port — use nylorun runtime status / nylorun down.
Development does not start
tsxis missing: installtsxin the project;nylorun devloadsagents/index.tswith project-localtsx.- Studio is missing: install
@nylorun/studioas a development dependency or runnpm run dev -- --no-studio. .envis still a directory: back it up and write a file only if you need a one-time vault seed. Move leftover OAuth credentials to.nylorun/auth.json. See Migrate from 0.13.- The project still exports a Hono app: this release has no
export default app. Exportagentsfromagents/index.tsand install@nylorun/cli. nylorun startis not a command: usenylorun serve.nylorun configureexits 6: start Runtime first (nylorun up).- The readiness check times out: fix compile or startup errors in the
Runtime/CLI terminal and confirm
http://127.0.0.1:8787/healthor/v1/agents(with the local server credential) responds. Use the configuredPORTwhen it is not 8787.
Studio cannot find the agent
- Confirm Runtime is up:
nylorun runtime status. nylorun studioresolves the active scope. Use--runtime-urlonly to override it.- Use
npm run devornylorun serveso the CLI registers manifests and provisions credentials. Attaching Studio to a process you started some other way requires the project's local server credential (orNYLORUN_SERVER_KEY). - Keep Runtime and Studio on the same development machine.
Changes do not appear
Check the terminal for a compile error. If the stack is healthy, start a new Studio session after definition or implementation edits — live upgrades are not supported. Source changes re-register agents and reconnect the executor; they do not restart Runtime.
- History disappears after deleting
.nylorun/: local SQLite, vault, and credentials live there. - Old JSONL sessions do not resume:
SessionRecord/events.jsonlroots are archive. They are not converted to SQLite checkpoints. - In-flight turns failed after upgrade: schema 3 turns and old hook actions are cancelled on Runtime startup. Start new sessions. See 0.15 → 0.17.
Model selection remains in config/ or .env/
The vault takes precedence after the first host-model write. Runtime does not
move or delete leftover .env/model.json and config/model.json files. If
nylorun reports that .env is a directory, migrate it manually—do not leave
a directory named .env in a project that uses the CLI.
Still blocked?
Search the docs, inspect the terminal error, then open a focused issue in the Harness repository with your Node version, command, expected result, and redacted error output.