Skip to content

Commit 463fbcb

Browse files
committed
Fix CircleCI dependency installation with --ignore-engines flag
- Updated CircleCI config to use 'yarn install --ignore-engines' - This resolves Node.js compatibility issues with [email protected] - Enhanced yarn resolutions to cover more specific dependency paths - Added yarn.lock file to lock dependency versions consistently - All tests, linting, and builds now pass successfully Fixes the error: '[email protected]: The engine "node" is incompatible with this module. Expected version ">=20.18.1". Got "20.17.0"'
1 parent c0f0681 commit 463fbcb

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
name: Install dependencies
5656
command: |
5757
corepack enable
58-
yarn install --cwd example
59-
yarn install
58+
yarn install --cwd example --ignore-engines
59+
yarn install --ignore-engines
6060
- save_cache:
6161
key: dependencies-{{ checksum "package.json" }}
6262
paths: node_modules
@@ -229,7 +229,7 @@ jobs:
229229
- run:
230230
name: Install dependencies
231231
command: |
232-
yarn install
232+
yarn install --ignore-engines
233233
234234
- run:
235235
name: Publish the package

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@
145145
"wrap-ansi": "7.0.0",
146146
"undici": "6.21.3",
147147
"**/undici": "6.21.3",
148+
"webdriverio/cheerio/undici": "6.21.3",
149+
"webdriverio/webdriver/undici": "6.21.3",
150+
"@wdio/mocha-framework/**/undici": "6.21.3",
151+
"@wdio/globals/**/undici": "6.21.3",
152+
"cheerio": "1.0.0",
148153
"**/@types/node": "20.12.12",
149154
"**/glob": "8.1.0",
150155
"**/rimraf": "3.0.2"

0 commit comments

Comments
 (0)