-
-
Notifications
You must be signed in to change notification settings - Fork 57
Description
What version of pkg are you using?
pkg@6.13.0
What version of Node.js are you using?
22.22.0/x64
What operating system are you using?
Ubuntu Windows and Mac latest from GitHub. For Ubuntu 24.04.3
What CPU architecture are you using?
x86_64
What Node versions, OSs and CPU architectures are you building for?
node20-linux-x64
Describe the Bug
Hi
DependaBot did try to update yao-pkg MarketSquare/robotframework-browser#4668 PR. I have job matrix which tests my library with different OS (Linux, Mac and Windows), NodeJS (from 20 to 24) and Python versions. All builds in this matrix fails to install yao-pkg and I see following error in my workflow:
npm warn skipping integrity check for git dependency ssh://git@github.com/yao-pkg/pkg.git
npm error code 2
npm error git dep preparation failed
npm error command /opt/hostedtoolcache/node/20.20.0/x64/bin/node /opt/hostedtoolcache/node/20.20.0/x64/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/runner/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm error > @yao-pkg/pkg@6.13.0 prepare
npm error > npm run build
npm error
npm error
npm error > @yao-pkg/pkg@6.13.0 build
npm error > npm run clean && tsc
npm error
npm error
npm error > @yao-pkg/pkg@6.13.0 clean
npm error > rimraf lib-es5
npm error
Error: npm error lib/detector.ts(83,3): error TS2578: Unused '@ts-expect-error' directive.
Error: npm error lib/esm-transformer.ts(38,5): error TS2578: Unused '@ts-expect-error' directive.
Error: npm error lib/esm-transformer.ts(86,5): error TS2578: Unused '@ts-expect-error' directive.
npm error npm warn using --force Recommended protections disabled.
npm error npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm error npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm error npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm error npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm error npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm error npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm error npm warn deprecated tar@7.5.6: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm error npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
npm error npm warn using --force Recommended protections disabled.
npm error npm warn using --force Recommended protections disabled.
npm error npm error code 2
npm error npm error path /home/runner/.npm/_cacache/tmp/git-clonetVEGF8
npm error npm error command failed
npm error npm error command sh -c npm run build
npm error npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-02-11T14_39_33_335Z-debug-0.log
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-02-11T14_39_27_455Z-debug-0.log
Example here https://github.com/MarketSquare/robotframework-browser/actions/runs/21909356187/job/63258474410 in Install Nodejs dependencies step.
Somewhat clueless what this causes, but previous version works without problems. Any pointers would be appreciated.
Expected Behavior
I did expect the install to work without errors.
To Reproduce
Checkout my repo https://github.com/MarketSquare/robotframework-browser and run npm ci command.