ACLClouds
ACLClouds

How do I install my bot’s dependencies?

Install Node.js or Python bot dependencies with npm ci or pip, use lockfiles correctly, and fix common package installation and build errors.

Step-by-step procedure

  1. Install Node.js dependencies

    Keep package.json and its lockfile, then run npm ci for a clean, reproducible installation.

  2. Install Python dependencies

    Keep requirements.txt or pyproject.toml, then install packages with pip in the server environment.

  3. Read the first useful error

    Check the runtime version, missing system packages, and whether the lockfile is current.

  4. Restart and verify the bot

    Restart the service after a successful installation, then confirm that the bot loads without errors.