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

Open
wants to merge 4 commits into
base: sweep/sweep_gha_fix_the_github_actions_run_fai_28
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"
  • Updated the version of "@types/lodash" in packages/cli/package.json from "^4.4.6" to "^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 "*"
  • Updated the version of "@types/lodash" in packages/core/package.json from "^4.4.6" to "^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"
  • Updated the version of "@types/lodash" in packages/editor-ui/package.json from "^4.14.177" to "^4.14.177"
  • Updated the version of "typescript" in packages/node-dev/package.json from "~3.9.7" to "^4.4.3"
  • Updated the version of "@types/express" in packages/node-dev/package.json from "^4.17.6" to "^4.17.13"
  • Updated the version of "typescript" in packages/workflow/package.json from "~3.9.7" to "^4.4.3"
  • Updated the version of "@types/express" in packages/workflow/package.json from "^4.17.6" to "^4.17.13"
  • Updated the version of "@types/lodash" in packages/workflow/package.json from "^4.14.177" to "^4.14.177"
  • Updated the version of "typescript" in packages/workflow/package.json from "~3.9.7" to "^4.4.3"
  • Updated the version of "@types/express" in packages/workflow/src/Expression.ts from "^4.17.6" to "^4.17.13"
  • Updated the version of "@types/lodash.get" in packages/workflow/src/Expression.ts from "^4.4.6" to "^4.4.6"
  • Updated the version of "@types/lodash" in packages/workflow/src/Expression.ts from "^4.14.177" to "^4.14.177"

Summary

  • Updated the versions of "@types/express" and added "@types/lodash.get" in packages/cli/package.json
  • Updated the versions of "typescript" and "express" and updated the version of "typeorm" in packages/cli/package.json
  • Updated the versions of "@types/express" and "@types/lodash.get" in packages/core/package.json
  • Updated the version of "@types/lodash" in packages/core/package.json
  • Updated the versions of "@types/express" and added "@types/lodash.get" in packages/editor-ui/package.json
  • Updated the version of "@types/lodash" in packages/editor-ui/package.json
  • Updated the version of "typescript" in packages/node-dev/package.json
  • Updated the version of "@types/express" in packages/node-dev/package.json
  • Updated the version of "typescript" in packages/workflow/package.json
  • Updated the versions of "@types/express" and "@types/lodash" in packages/workflow/package.json
  • Updated the version of "@types/express" in packages/workflow/src/Expression.ts
  • Updated the version of "@types/lodash.get" in packages/workflow/src/Expression.ts
  • Updated the version of "@types/lodash" 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]../../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! n8n-node-dev@0.13.0 build: `tsc`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the n8n-node-dev@0.13.0 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_27_46_447Z-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_27_46_476Z-debug.log
##[error]src/Expression.ts(90,48): error TS18046: 'e' is of type 'unknown'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! n8n-workflow@0.60.0 build: `tsc`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the n8n-workflow@0.60.0 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_27_48_473Z-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/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 15.694s

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"

> n8n-workflow@0.60.0 build /home/runner/work/n8n/n8n/packages/workflow
> tsc


> n8n-node-dev@0.13.0 build /home/runner/work/n8n/n8n/packages/node-dev
> tsc

Created Pull Request: #203

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! n8n-node-dev@0.13.0 build: `tsc`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the n8n-node-dev@0.13.0 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_27_49_960Z-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_27_50_005Z-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/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 13.723s

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"

> n8n-node-dev@0.13.0 build /home/runner/work/n8n/n8n/packages/node-dev
> tsc


> n8n-workflow@0.60.0 build /home/runner/work/n8n/n8n/packages/workflow
> tsc

Created Pull Request: #205

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