Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GanondorfLinkZelda opened this issue Oct 16, 2024 · 0 comments
Labels
bug Indicates an unexpected problem or unintended behavior.

Comments

@GanondorfLinkZelda
Copy link

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.
@GanondorfLinkZelda GanondorfLinkZelda added the bug Indicates an unexpected problem or unintended behavior. label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior.
Projects
None yet
Development

No branches or pull requests

1 participant