Skip to content

Commit 41e703b

Browse files
committed
fix: ci error corrupted npm package
```output Run npm install npm warn tarball tarball data for torrust-index-api-lib@https://registry.npmjs.org/torrust-index-api-lib/-/torrust-index-api-lib-3.0.0-beta.tgz (sha512-CbNOjneTiuChZ/xDfLosVIbZ6zdS06GBbeezsJ+2AofJXbAu7Q8KFgWnLJUZUVMtqiELc83CZflC7EVGubif3A==) seems to be corrupted. Trying again. npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: 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 warn deprecated [email protected]: Glob versions prior to v9 are no longer supported npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported npm warn deprecated [email protected]: This package is no longer supported. npm warn tarball tarball data for torrust-index-api-lib@https://registry.npmjs.org/torrust-index-api-lib/-/torrust-index-api-lib-3.0.0-beta.tgz (sha512-CbNOjneTiuChZ/xDfLosVIbZ6zdS06GBbeezsJ+2AofJXbAu7Q8KFgWnLJUZUVMtqiELc83CZflC7EVGubif3A==) seems to be corrupted. Trying again. npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported npm error code EINTEGRITY npm error sha512-CbNOjneTiuChZ/xDfLosVIbZ6zdS06GBbeezsJ+2AofJXbAu7Q8KFgWnLJUZUVMtqiELc83CZflC7EVGubif3A== integrity checksum failed when using sha512: wanted sha512-CbNOjneTiuChZ/xDfLosVIbZ6zdS06GBbeezsJ+2AofJXbAu7Q8KFgWnLJUZUVMtqiELc83CZflC7EVGubif3A== but got sha512-AmUkp6mIO89X7yHTuNrU0HsQBvCLMpSVk3Zk7s/1w6oao7vLW1NIxSQM7BSnDOCMjm5PJmSoDvJcCnl8aE+A0w==. (11934 bytes) npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-09-15T08_32_24_272Z-debug-0.log Error: Process completed with exit code 1. ```
1 parent 45c1836 commit 41e703b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/testing.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
- name: Checkout
1212
uses: actions/checkout@v4
1313

14+
- name: Clear cache
15+
run: npm cache clean --force
16+
1417
- name: Install dependencies
1518
run: npm install
1619

Containerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ WORKDIR /app
1818
FROM builder as dependencies
1919
COPY package.json .
2020
COPY package-lock.json .
21+
RUN npm cache clean --force
2122
RUN npm install-clean
2223

2324

0 commit comments

Comments
 (0)