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

Open
wants to merge 2 commits into
base: sweep/sweep_gha_fix_the_github_actions_run_fai_34
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 several changes to the codebase. The changes are as follows:

  • Updated the version of the lerna package in the devDependencies section of the package.json file in the root directory.
  • Added the @types/express, typescript, and uuid packages to the devDependencies section of the package.json file in the root directory.
  • Updated the version of the @types/express package in the devDependencies section of the packages/cli/package.json file.
  • Added the @types/lodash.get and @types/lodash packages to the devDependencies section of the packages/cli/package.json file.
  • Updated the version of the typescript package in the devDependencies section of the packages/cli/package.json file.
  • Updated the version of the express package in the dependencies section of the packages/cli/package.json file.
  • Updated the version of the typeorm package in the dependencies section of the packages/cli/package.json file.
  • Updated the version of the @types/express package in the devDependencies section of the packages/core/package.json file.
  • Added the @types/lodash.get and @types/lodash packages to the devDependencies section of the packages/core/package.json file.
  • Updated the version of the @types/express package in the devDependencies section of the packages/editor-ui/package.json file.
  • Added the @types/lodash.get and @types/lodash packages to the devDependencies section of the packages/editor-ui/package.json file.
  • Updated the version of the @types/express package in the devDependencies section of the packages/node-dev/package.json file.
  • Updated the version of the typescript package in the dependencies section of the packages/node-dev/package.json file.
  • Updated the version of the @types/express package in the dependencies section of the packages/node-dev/package.json file.
  • Updated the version of the @types/express package in the devDependencies section of the packages/workflow/package.json file.
  • Added the @types/lodash.get and @types/lodash packages to the devDependencies section of the packages/workflow/package.json file.
  • Updated the version of the typescript package in the devDependencies section of the packages/workflow/package.json file.
  • Updated the version of the lodash.get package in the dependencies section of the packages/workflow/package.json file.
  • Updated the version of the lodash.isequal package in the dependencies section of the packages/workflow/package.json file.
  • Updated the version of the @types/express package in the dependencies section of the packages/workflow/src/Expression.ts file.
  • Updated the tsconfig.json file in the packages/workflow directory to target es2018 instead of es2017.

Summary

  • Updated lerna package version in root package.json
  • Added @types/express, typescript, and uuid packages to root package.json
  • Updated @types/express package version in packages/cli/package.json
  • Added @types/lodash.get and @types/lodash packages to packages/cli/package.json
  • Updated typescript package version in packages/cli/package.json
  • Updated express and typeorm package versions in packages/cli/package.json
  • Updated @types/express package version in packages/core/package.json
  • Added @types/lodash.get and @types/lodash packages to packages/core/package.json
  • Updated @types/express package version in packages/editor-ui/package.json
  • Added @types/lodash.get and @types/lodash packages to packages/editor-ui/package.json
  • Updated @types/express package version in packages/node-dev/package.json
  • Updated typescript package version in packages/node-dev/package.json
  • Updated @types/express package version in packages/workflow/package.json
  • Added @types/lodash.get and @types/lodash packages to packages/workflow/package.json
  • Updated typescript package version in packages/workflow/package.json
  • Updated lodash.get package version in packages/workflow/package.json
  • Updated lodash.isequal package version in packages/workflow/package.json
  • Updated @types/express package version in packages/workflow/src/Expression.ts
  • Updated tsconfig.json in packages/workflow to target es2018

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]../../node_modules/@oclif/command/lib/command.d.ts(70,31): error TS2344: Type 'F' does not satisfy the constraint 'Output'.
##[error]../../node_modules/@oclif/command/lib/command.d.ts(70,67): error TS2344: Type 'F' does not satisfy the constraint 'OutputFlags<any>'.
##[error]../../node_modules/@oclif/parser/lib/index.d.ts(16,35): error TS2344: Type 'TFlags' does not satisfy the constraint 'Output'.
##[error]../../node_modules/@oclif/parser/lib/index.d.ts(16,52): error TS2344: Type 'TFlags' does not satisfy the constraint 'OutputFlags<any>'.
##[error]../../node_modules/@types/inquirer/index.d.ts(81,76): error TS2344: Type 'T' does not satisfy the constraint 'Answers'.
##[error]../../node_modules/@types/inquirer/index.d.ts(85,105): error TS2344: Type 'T' does not satisfy the constraint 'Answers'.
##[error]../../node_modules/@types/inquirer/index.d.ts(140,43): error TS2344: Type 'T' does not satisfy the constraint 'Answers'.
##[error]../../node_modules/@types/inquirer/lib/objects/choices.d.ts(11,48): error TS2344: Type 'T' does not satisfy the constraint 'Answers'.
##[error]../../node_modules/@types/inquirer/lib/objects/choices.d.ts(11,79): error TS2344: Type 'T' does not satisfy the constraint 'Answers'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `tsc`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the [email protected] build 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_33_25_970Z-debug.log
lerna ERR! npm run build exited 2 in 'n8n-node-dev'
lerna ERR! npm run build exited 2 in 'n8n-node-dev'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! n8n@ build: `lerna exec npm run build`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the n8n@ build 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_33_26_009Z-debug.log
##[error]Process completed with exit code 2.

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 15.062s

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 info Bootstrapping 6 packages
lerna WARN EHOIST_PKG_VERSION "n8n" package depends on @types/express@^4.4.3, which differs from the hoisted @types/express@^4.17.13.
lerna WARN EHOIST_PKG_VERSION "n8n-editor-ui" package depends on @types/express@^4.4.3, which differs from the hoisted @types/express@^4.17.13.
lerna WARN EHOIST_PKG_VERSION "n8n-nodes-base" package depends on @types/express@^4.17.6, which differs from the hoisted @types/express@^4.17.13.
lerna WARN EHOIST_PKG_VERSION "n8n-core" package depends on @types/lodash.get@*, which differs from the hoisted @types/lodash.get@^4.4.6.
lerna WARN EHOIST_PKG_VERSION "n8n" package depends on typescript@^4.4.3, which differs from the hoisted typescript@~3.9.7.
lerna WARN EHOIST_PKG_VERSION "n8n-node-dev" package depends on typescript@^4.4.3, which differs from the hoisted typescript@~3.9.7.
lerna WARN EHOIST_PKG_VERSION "n8n-workflow" package depends on typescript@^4.4.3, which differs from the hoisted typescript@~3.9.7.
lerna WARN EHOIST_PKG_VERSION "n8n-editor-ui" package depends on uuid@^8.1.0, which differs from the hoisted uuid@^3.4.0.
lerna WARN EHOIST_PKG_VERSION "n8n-node-dev" package depends on tmp-promise@^2.0.2, which differs from the hoisted tmp-promise@^3.0.2.
lerna info Installing external dependencies
lerna info hoist Installing hoisted dependencies into root
lerna info hoist Pruning hoisted dependencies
lerna info hoist Finished pruning hoisted dependencies
lerna info hoist Finished bootstrapping root
lerna info Symlinking packages and binaries
lerna success Bootstrapped 6 packages

> n8n@ build /home/runner/work/n8n/n8n
> lerna exec npm run build

lerna notice cli v3.22.1
lerna info versioning independent
lerna info ci enabled
lerna info Executing command in 6 packages: "npm run build"

> [email protected] build /home/runner/work/n8n/n8n/packages/node-dev
> tsc


> [email protected] build /home/runner/work/n8n/n8n/packages/workflow
> tsc

[!CAUTION]

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

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