AI Help

Why does an AI coding agent find a dependency locally but miss it in a cloud environment?

Compare the local and cloud setup steps, dependency installation and environment configuration for the same commit.

Steps to follow

  1. Record runtime, package manager, lockfile, working directory and exact failing command in both environments.
  2. Check whether the dependency is declared and installed by the documented setup, rather than available only through a local global installation.
  3. Reproduce with a clean install and configure required setup through the supported cloud environment controls.

Example in practice

Illustrative example. A tool installed globally on a developer's laptop needs a declared installation step before a clean cloud runner can use it.

Related AI help

Official guidance

Claude documentation