Skip to content

Error During Python Bridge Setup with 404 and npm audit fix --force Fails Without package-lock.json #538

@GanondorfLinkZelda

Description

@GanondorfLinkZelda

Specs

  • Leon version: 1.0.0-beta.10+dev
  • OS (or browser) version: Windows 10 (10.0.22631)
  • Node.js version: v20.18.0
  • Complete "leon check" (or "npm run check") output:
    • Unfortunately, I encountered an error during the setup and was unable to fully complete the check process.
  • (optional) Leon skill version: N/A

Expected Behavior

The Python bridge and Node.js bridge should be successfully set up, and npm audit fix --force should resolve vulnerabilities without errors. The setup should complete without 404 errors when fetching resources.

Actual Behavior

  1. When running npm audit fix --force, I get the following error:

npm warn using --force Recommended protections disabled.
npm error code EUSAGE
npm error fix can not be used without a package-lock
npm error
npm error
Run a security audit
npm error
npm error
A complete log of this run can be found in.......

  1. When attempting to set up the Python bridge, I encounter a 404 error:

Error: Failed to set up Python bridge: AxiosError: Request failed with status code 404 at setupBinaries

How Do We Reproduce?

  1. Clone the Leon repository from GitHub.
  2. Run npm install to install dependencies.
  3. Run npm start to trigger the setup process.
  4. The error occurs during the Python bridge setup and when attempting to audit fix with npm audit fix --force.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions