1. EasyHost
  2. Errors
  3. sh: next: not found

sh: next: not found

The tool is not installed. It may be missing from package.json, or the install used the wrong folder.

Last updated November 9, 2026

The error

sh: next: not found

Why it happens

The tool is not installed. It may be missing from package.json, or the install used the wrong folder.

How to fix it

Add the dependency locally and commit the lockfile. In a monorepo, check the root directory setting.

npm i next
ezhst build show
ezhst deploy

Still stuck

Read the build log and runtime logs, or browse all errors.

Start for free

Install the skill, choose Global or Local, then tell your agent to deploy. No credit card, no config files.

npx ezhst skill install