Skip to content

chore(deps): update dependency get-port to v7 - abandoned #3083

chore(deps): update dependency get-port to v7 - abandoned

chore(deps): update dependency get-port to v7 - abandoned #3083

Triggered via pull request December 3, 2024 04:07
Status Failure
Total duration 3m 23s
Artifacts

test-windows.yml

on: pull_request
Matrix: ut-windows
Fit to window
Zoom out
Zoom in

Annotations

3 errors
packages/webpack-plugin/tests/multiple.test.ts > test src/multiple.ts > test stage options > without stage: packages/webpack-plugin/tests/multiple.test.ts#L5
Error: require() of ES Module D:\a\rsdoctor\rsdoctor\node_modules\.pnpm\[email protected]\node_modules\get-port\index.js from D:\a\rsdoctor\rsdoctor\packages\utils\dist\cjs\build\server.js not supported. Instead change the require of index.js in D:\a\rsdoctor\rsdoctor\packages\utils\dist\cjs\build\server.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> packages/webpack-plugin/dist/multiple.js:24:18 ❯ loadMultipleFile packages/webpack-plugin/tests/multiple.test.ts:5:14 ❯ packages/webpack-plugin/tests/multiple.test.ts:11:49 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
packages/webpack-plugin/tests/multipleWithStage.test.ts > test src/multiple.ts > test stage options > with stage: packages/webpack-plugin/tests/multipleWithStage.test.ts#L5
Error: require() of ES Module D:\a\rsdoctor\rsdoctor\node_modules\.pnpm\[email protected]\node_modules\get-port\index.js from D:\a\rsdoctor\rsdoctor\packages\utils\dist\cjs\build\server.js not supported. Instead change the require of index.js in D:\a\rsdoctor\rsdoctor\packages\utils\dist\cjs\build\server.js to a dynamic import() which is available in all CommonJS modules. ❯ Object.<anonymous> packages/webpack-plugin/dist/multiple.js:24:18 ❯ loadMultipleFile packages/webpack-plugin/tests/multipleWithStage.test.ts:5:14 ❯ packages/webpack-plugin/tests/multipleWithStage.test.ts:11:49 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
ut-windows (18.x)
Process completed with exit code 1.