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... #213

Open
wants to merge 2 commits into
base: sweep/sweep_gha_fix_the_github_actions_run_fai_43
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 version of "@types/express" in packages/cli/package.json from "^4.17.6" to "^4.4.3"
  • Added "@types/lodash.get" in packages/cli/package.json with version "^4.4.7"
  • Added "@types/lodash" in packages/cli/package.json with version "^4.14.177"
  • Updated the version of "typescript" in packages/cli/package.json from "~3.9.7" to "^4.4.3"
  • Updated the version of "express" in packages/cli/package.json from "^4.16.4" to "^4.17.13"
  • Updated the version of "typeorm" in packages/cli/package.json from "^0.2.30" to "^0.3.18"
  • Updated the version of "@types/express" in packages/core/package.json from "^4.17.6" to "^4.17.13"
  • Updated the version of "@types/lodash.get" in packages/core/package.json from "^4.4.6" to "*"
  • Added "@types/lodash" in packages/core/package.json with version "^4.14.177"
  • Updated the version of "@types/express" in packages/editor-ui/package.json from "^4.17.6" to "^4.4.3"
  • Added "@types/lodash.get" in packages/editor-ui/package.json with version "^4.4.7"
  • Added "@types/lodash" in packages/editor-ui/package.json with version "^4.14.177"
  • Updated the version of "typescript" in packages/node-dev/package.json from "~3.9.7" to "^4.x"
  • Updated the version of "@types/express" in packages/node-dev/package.json from "^4.17.6" to "^4.17.13"
  • Added "postinstall" script in packages/node-dev/package.json to run "npm install"
  • Updated the version of "@types/express" in packages/workflow/package.json from "^4.17.6" to "^4.17.13"
  • Added "@types/lodash.get" in packages/workflow/package.json with version "^4.4.6"
  • Added "@types/lodash" in packages/workflow/package.json with version "^4.14.177"
  • Updated the version of "typescript" in packages/workflow/package.json from "~3.9.7" to "^4.x"
  • Updated the version of "@types/express" in packages/workflow/src/Expression.ts from "^4.17.6" to "^4.17.13"

Summary

  • Updated the versions of "@types/express" and added "@types/lodash.get" and "@types/lodash" in packages/cli, packages/core, packages/editor-ui, packages/workflow, and packages/node-dev
  • Updated the version of "typescript" in packages/cli, packages/node-dev, and packages/workflow
  • Updated the version of "express" in packages/cli
  • Updated the version of "typeorm" in packages/cli
  • Added "postinstall" script in packages/node-dev/package.json
  • Updated the version of "express" in packages/core and packages/editor-ui
  • Updated the version of "typescript" in packages/workflow
  • Updated the version of "@types/express" in packages/workflow/src/Expression.ts

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/plugin-request-log@1.0.4 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 14.659s

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! JSONError: Unexpected token , in JSON at position 597 while parsing near '....json","npm install",    "watch": "tsc ...' in packages/workflow/package.json
lerna ERR!     at module.exports (/home/runner/work/n8n/n8n/node_modules/parse-json/index.js:26:19)
lerna ERR!     at parse (/home/runner/work/n8n/n8n/node_modules/load-json-file/index.js:15:9)
lerna ERR! lerna Unexpected token , in JSON at position 597 while parsing near '....json","npm install",    "watch": "tsc ...' in packages/workflow/package.json
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_46_15_921Z-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: 0ab7f5f5a1)

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