Text.js
DocsLearnPlaygroundOpenCodeCoffee
Error Codes/@textjs/next

TX018

No app/ directory

Console

Text.js error TX018: No app/ directory found in ….

Why this happens

text run renders the App Router in your terminal and could not find the routes directory.

How to fix it

Run it from the project root, or pass the project directory:

text run ./my-app
Previous← TX017 No production buildNextTX019 text run / text mcp require Bun →

©2026 Anomaly. All rights reserved

DocsLearnPlaygroundOpenCodeCoffeeErrorsChangelogBlogEnterpriseMerchStatus
All systems operationalMajor outage