The workflows failed on the packages install, fix it.
Example of fail logs :
{
npm ci
} 2>&1 | tee "$RUNNER_TEMP/copilot-setup-output-1794304e-6bb5-4ea3-9599-bf26cea9b17c.txt"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
SHOULD_CONTINUE: true
COPILOT_AGENT_START_TIME_SEC: 1786613012
COPILOT_AGENT_TIMEOUT_MIN: 20
MISE_LOG_LEVEL: info
MISE_GITHUB_TOKEN: ***
MISE_TRUSTED_CONFIG_PATHS: /home/runner/work/SlotFinder/SlotFinder
MISE_YES: 1
GOBIN: /home/runner/.local/share/mise/installs/go/1.26.5/bin
GOROOT: /home/runner/.local/share/mise/installs/go/1.26.5
PATH: /home/runner/.local/share/mise/installs/npm/12.0.2/package/bin:/home/runner/.local/share/mise/installs/node/24.19.0/bin:/home/runner/.local/share/mise/installs/go/1.26.5/bin:/home/runner/.local/share/mise/shims:/home/runner/.local/share/mise/bin:/home/runner/work/_temp/ghcca-node/node/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
npm error code EUSAGE
npm error
npm error The `npm ci` command can only install with an existing
npm error package-lock.json with lockfileVersion >= 1. Run an install with npm@5
npm error or later to generate a package-lock.json file, then try again.
npm error
npm error Clean install a project
npm error
npm error Usage:
npm error npm ci
npm error
npm error Options:
npm error [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm error [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm error [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
npm error [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts]
npm error [--allow-directory <all|none|root>] [--allow-file <all|none|root>]
npm error [--allow-git <all|none|root>] [--allow-remote <all|none|root>]
npm error [--allow-scripts <package-list> [--allow-scripts <package-list> ...]]
npm error [--strict-allow-scripts] [--dangerously-allow-all-scripts] [--no-audit]
npm error [--no-bin-links] [--no-fund] [--dry-run]
npm error [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm error [--workspaces] [--include-workspace-root] [--install-links]
npm error
npm error --install-strategy
npm error Sets the strategy for installing packages in node_modules.
npm error
npm error --legacy-bundling
npm error Instead of hoisting package installs in `node_modules`, install packages
npm error
npm error --global-style
npm error Only install direct dependencies in the top level `node_modules`,
npm error
npm error --omit
npm error Dependency types to omit from the installation tree on disk.
npm error
npm error --include
npm error Option that allows for defining which types of dependencies to install.
npm error
npm error --strict-peer-deps
npm error If set to `true`, and `--legacy-peer-deps` is not set, then _any_
npm error
npm error --foreground-scripts
npm error Run all build scripts (ie, `preinstall`, `install`, and
npm error
npm error --ignore-scripts
npm error If true, npm does not run scripts specified in package.json files.
npm error
npm error --allow-directory
npm error Limits the ability for npm to install dependencies from directories.
npm error
npm error --allow-file
npm error Limits the ability for npm to install dependencies from tarball files.
npm error
npm error --allow-git
npm error Limits the ability for npm to fetch dependencies from git references.
npm error
npm error --allow-remote
npm error Limits the ability for npm to fetch dependencies from urls.
npm error
npm error --allow-scripts
npm error Comma-separated list of packages whose install-time lifecycle scripts
npm error
npm error --strict-allow-scripts
npm error If `true`, turn the install-script policy from a warning into a hard
npm error
npm error --dangerously-allow-all-scripts
npm error If `true`, bypass the `allowScripts` policy entirely and run every
npm error
npm error --audit
npm error When "true" submit audit reports alongside the current npm command to the
npm error
npm error --bin-links
npm error Tells npm to create symlinks (or `.cmd` shims on Windows) for package
npm error
npm error --fund
npm error When "true" displays the message at the end of each `npm install`
npm error
npm error --dry-run
npm error Indicates that you don't want npm to make any changes and that it should
npm error
npm error -w|--workspace
npm error Enable running a command in the context of the configured workspaces of the
npm error
npm error --workspaces
npm error Set to true to run the command in the context of **all** configured
npm error
npm error --include-workspace-root
npm error Include the workspace root when workspaces are enabled for a command.
npm error
npm error --install-links
npm error When set file: protocol dependencies will be packed and installed as
npm error
npm error
npm error aliases: clean-install, ic, install-clean, isntall-clean
npm error
npm error Run "npm help ci" for more info
The workflows failed on the packages install, fix it.
Example of fail logs :
Documentations :