chore(deps): update dependency get-port to v7 - abandoned #3083
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.
|