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

[Sweep GHA Fix] The GitHub Actions run failed with... #210

Open
wants to merge 1 commit into
base: sweep/sweep_gha_fix_the_github_actions_run_fai_41
Choose a base branch
from

Conversation

sweep-ai[bot]
Copy link

@sweep-ai sweep-ai bot commented Jan 4, 2024

Description

This pull request includes the following changes:

  • Updated the CONTRIBUTING.md file to include instructions for installing lerna globally and running lerna bootstrap --hoist --no-ci during setup.
  • Modified the docker/images/n8n-custom/Dockerfile to use lerna bootstrap --hoist --no-ci -- --production instead of lerna bootstrap --hoist -- --production.
  • Updated the dependencies in the packages/cli/package.json file, including updating @types/express to version 4.4.3 and adding @types/lodash.get and @types/lodash.
  • Updated the dependencies in the packages/core/package.json file, including updating @types/express to version 4.17.13 and adding @types/lodash.get and @types/lodash.
  • Updated the dependencies in the packages/editor-ui/package.json file, including updating @types/express to version 4.17.13 and adding @types/lodash.get and @types/lodash.
  • Updated the dependencies in the packages/node-dev/package.json file, including updating @types/express to version 4.17.13.
  • Updated the dependencies in the packages/workflow/package.json file, including updating @types/express to version 4.17.13 and adding @types/lodash.get and @types/lodash.

Summary

  • Updated setup instructions in CONTRIBUTING.md to include installing lerna globally and running lerna bootstrap --hoist --no-ci.
  • Modified Dockerfile to use lerna bootstrap --hoist --no-ci -- --production.
  • Updated dependencies in packages/cli/package.json, packages/core/package.json, packages/editor-ui/package.json, packages/node-dev/package.json, and packages/workflow/package.json.

Copy link
Author

sweep-ai bot commented Jan 4, 2024

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

Copy link
Author

sweep-ai bot commented Jan 4, 2024

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run npm install
yielded the following error:
##[error]Process completed with exit code 1.

Here are the logs:
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @octokit/[email protected] requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.

added 815 packages from 391 contributors and audited 815 packages in 13.488s

73 packages are looking for funding
run `npm fund` for details

found 24 vulnerabilities (6 moderate, 16 high, 2 critical)
run `npm audit fix` to fix them, or `npm audit` for details

> n8n@ bootstrap /home/runner/work/n8n/n8n
> lerna bootstrap --hoist --no-ci

lerna notice cli v3.22.1
lerna info versioning independent
lerna ERR! TypeError: graphDependencies[depName].replace is not a function
lerna ERR!     at /home/runner/work/n8n/n8n/node_modules/@lerna/package-graph/index.js:60:49
lerna ERR!     at Array.forEach (<anonymous>)
lerna ERR!     at /home/runner/work/n8n/n8n/node_modules/@lerna/package-graph/index.js:55:38
lerna ERR!     at Map.forEach (<anonymous>)
lerna ERR!     at new PackageGraph (/home/runner/work/n8n/n8n/node_modules/@lerna/package-graph/index.js:44:10)
lerna ERR! lerna graphDependencies[depName].replace is not a function
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! n8n@ bootstrap: `lerna bootstrap --hoist --no-ci`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the n8n@ bootstrap script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2024-01-04T05_36_13_799Z-debug.log

[!CAUTION]

An error has occurred: 422 {"message": "Reference already exists", "documentation_url": "https://docs.github.com/rest/git/refs#create-a-reference"} (tracking ID: efe3f4a6d1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants