Skip to content

Conversation

@tasshi-me
Copy link
Member

@tasshi-me tasshi-me commented Oct 31, 2025

Why

Run npx kintone-cli.tgz --version
npm warn exec The following package was not found and will be installed: file:kintone-cli.tgz
npm error code ECOMPROMISED
npm error Lock compromised
npm error A complete log of this run can be found in: C:\npm\cache\_logs\2025-10-31T14_40_33_216Z-debug-0.log
Error: Process completed with exit code 1.

ref. https://github.com/kintone/cli-kintone/actions/runs/18975906273/job/54195407404

この ECOMPROMISED エラーが頻発する現象は npm/cli#8577 で修正されて、 [email protected] にてリリースされている。

そのため、テストで使用するnpmのバージョンを11.6.1以上にする。

What

How to test

Checklist

  • Read CONTRIBUTING.md
  • Updated documentation if it is required.
  • Added/updated tests if it is required. (or tested manually)
  • Passed pnpm lint and pnpm test on the root directory.

@tasshi-me tasshi-me changed the title test: fix flaky npm tests test: fix flaky npm installation tests Oct 31, 2025
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.

2 participants