1. EasyHost
  2. Errors
  3. Error: Cannot find module

Error: Cannot find module

The start command points to a file that does not exist, often because no build ran or the output folder differs.

Last updated November 9, 2026

The error

Error: Cannot find module './dist/index.js'

Why it happens

The start command points to a file that does not exist, often because no build ran or the output folder differs.

How to fix it

Check that a build script exists and that the start path matches its output.

ezhst deployments log
ezhst build set --start "node build/index.js"

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