build: upgrade github actions #64
Annotations
6 errors
tests/plugin.test.ts > webpack:
tests/plugin.test.ts#L13
Error: Command failed with exit code 2: webpack
[webpack-cli] Failed to load '/home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app/webpack.config.mjs' config
[webpack-cli] TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:405:5)
at validateString (node:internal/validators:162:11)
at resolve (node:path:1097:7)
at file:///home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app/webpack.config.mjs:6:12
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:429:15)
at async WebpackCLI.tryRequireThenImport (/home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:266:34)
at async loadConfigByPath (/home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1406:27)
at async WebpackCLI.loadConfig (/home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1515:38) {
code: 'ERR_INVALID_ARG_TYPE'
}
❯ resolve node:path:1097:7
❯ tests/fixtures/mono/app/webpack.config.mjs:6:12
❯ WebpackCLI.tryRequireThenImport node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:266:34
❯ loadConfigByPath node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1406:27
❯ makeError node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/.pnpm/execa@8.0.1/node_modules/execa/index.js:124:26
❯ exec tests/plugin.test.ts:13:20
❯ tests/plugin.test.ts:43:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: webpack', command: 'webpack', escapedCommand: 'webpack', exitCode: 2, signal: undefined, signalDescription: undefined, stdout: '', stderr: '[webpack-cli] Failed to load \'/home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app/webpack.config.mjs\' config\n[webpack-cli] TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined\n at new NodeError (node:internal/errors:405:5)\n at validateString (node:internal/validators:162:11)\n at resolve (node:path:1097:7)\n at file:///home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app/webpack.config.mjs:6:12\n at ModuleJob.run (node:internal/modules/esm/module_job:195:25)\n at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)\n at async importModuleDynamicallyWrapper (node:internal/vm/module:429:15)\n at async WebpackCLI.tryRequireThenImport (/home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:266:34)\n at async loadConfigByPath (/home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1406:27)\n at async WebpackCLI.loadConfig (/home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1515:38) {\n code: \'ERR_INVALID_ARG_TYPE\'\n}', cwd: '/home/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app', failed: true, timedOut: false, isCanceled: false, killed: false }
|
test (ubuntu-latest, 18)
Process completed with exit code 1.
|
tests/plugin.test.ts > webpack:
tests/plugin.test.ts#L13
Error: Command failed with exit code 2: webpack
[webpack-cli] Failed to load '/Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app/webpack.config.mjs' config
[webpack-cli] TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:405:5)
at validateString (node:internal/validators:162:11)
at resolve (node:path:1097:7)
at file:///Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app/webpack.config.mjs:6:12
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:429:15)
at async WebpackCLI.tryRequireThenImport (/Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:266:34)
at async loadConfigByPath (/Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1406:27)
at async WebpackCLI.loadConfig (/Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1515:38) {
code: 'ERR_INVALID_ARG_TYPE'
}
❯ resolve node:path:1097:7
❯ tests/fixtures/mono/app/webpack.config.mjs:6:12
❯ WebpackCLI.tryRequireThenImport node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:266:34
❯ loadConfigByPath node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1406:27
❯ makeError node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/.pnpm/execa@8.0.1/node_modules/execa/index.js:124:26
❯ exec tests/plugin.test.ts:13:20
❯ tests/plugin.test.ts:43:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: webpack', command: 'webpack', escapedCommand: 'webpack', exitCode: 2, signal: undefined, signalDescription: undefined, stdout: '', stderr: '[webpack-cli] Failed to load \'/Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app/webpack.config.mjs\' config\n[webpack-cli] TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined\n at new NodeError (node:internal/errors:405:5)\n at validateString (node:internal/validators:162:11)\n at resolve (node:path:1097:7)\n at file:///Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app/webpack.config.mjs:6:12\n at ModuleJob.run (node:internal/modules/esm/module_job:195:25)\n at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)\n at async importModuleDynamicallyWrapper (node:internal/vm/module:429:15)\n at async WebpackCLI.tryRequireThenImport (/Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:266:34)\n at async loadConfigByPath (/Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1406:27)\n at async WebpackCLI.loadConfig (/Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1515:38) {\n code: \'ERR_INVALID_ARG_TYPE\'\n}', cwd: '/Users/runner/work/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app', failed: true, timedOut: false, isCanceled: false, killed: false }
|
test (macos-latest, 18)
Process completed with exit code 1.
|
tests/plugin.test.ts > webpack:
tests/plugin.test.ts#L13
Error: Command failed with exit code 2: webpack
[webpack-cli] Failed to load 'D:\a\unplugin-detect-duplicated-deps\unplugin-detect-duplicated-deps\tests\fixtures\mono\app\webpack.config.mjs' config
[webpack-cli] TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:405:5)
at validateString (node:internal/validators:162:11)
at resolve (node:path:167:9)
at file:///D:/a/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app/webpack.config.mjs:6:12
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:429:15)
at async WebpackCLI.tryRequireThenImport (D:\a\unplugin-detect-duplicated-deps\unplugin-detect-duplicated-deps\node_modules\.pnpm\webpack-cli@5.1.4_webpack@5.91.0\node_modules\webpack-cli\lib\webpack-cli.js:266:34)
at async loadConfigByPath (D:\a\unplugin-detect-duplicated-deps\unplugin-detect-duplicated-deps\node_modules\.pnpm\webpack-cli@5.1.4_webpack@5.91.0\node_modules\webpack-cli\lib\webpack-cli.js:1406:27)
at async WebpackCLI.loadConfig (D:\a\unplugin-detect-duplicated-deps\unplugin-detect-duplicated-deps\node_modules\.pnpm\webpack-cli@5.1.4_webpack@5.91.0\node_modules\webpack-cli\lib\webpack-cli.js:1515:38) {
code: 'ERR_INVALID_ARG_TYPE'
}
❯ resolve node:path:167:9
❯ tests/fixtures/mono/app/webpack.config.mjs:6:12
❯ WebpackCLI.tryRequireThenImport node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:266:34
❯ loadConfigByPath node_modules/.pnpm/webpack-cli@5.1.4_webpack@5.91.0/node_modules/webpack-cli/lib/webpack-cli.js:1406:27
❯ makeError node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/.pnpm/execa@8.0.1/node_modules/execa/index.js:124:26
❯ exec tests/plugin.test.ts:13:20
❯ tests/plugin.test.ts:43:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: webpack', command: 'webpack', escapedCommand: 'webpack', exitCode: 2, signal: undefined, signalDescription: undefined, stdout: '', stderr: '[webpack-cli] Failed to load \'D:\a\unplugin-detect-duplicated-deps\unplugin-detect-duplicated-deps\tests\fixtures\mono\app\webpack.config.mjs\' config\n[webpack-cli] TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined\n at new NodeError (node:internal/errors:405:5)\n at validateString (node:internal/validators:162:11)\n at resolve (node:path:167:9)\n at file:///D:/a/unplugin-detect-duplicated-deps/unplugin-detect-duplicated-deps/tests/fixtures/mono/app/webpack.config.mjs:6:12\n at ModuleJob.run (node:internal/modules/esm/module_job:195:25)\n at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)\n at async importModuleDynamicallyWrapper (node:internal/vm/module:429:15)\n at async WebpackCLI.tryRequireThenImport (D:\a\unplugin-detect-duplicated-deps\unplugin-detect-duplicated-deps\node_modules\.pnpm\webpack-cli@5.1.4_webpack@5.91.0\node_modules\webpack-cli\lib\webpack-cli.js:266:34)\n at async loadConfigByPath (D:\a\unplugin-detect-duplicated-deps\unplugin-detect-duplicated-deps\node_modules\.pnpm\webpack-cli@5.1.4_webpack@5.91.0\node_modules\webpack-cli\lib\webpack-cli.js:1406:27)\n at async WebpackCLI.loadConfig (D:\a\unplugin-detect-duplicated-deps\unplugin-detect-duplicated-deps\node_modules\.pnpm\webpack-cli@5.1.4_webpack@5.91.0\node_modules\webpack-cli\lib\webpack-cli.js:1515:38) {\n code: \'ERR_INVALID_ARG_TYPE\'\n}', cwd: 'D:\a\unplugin-detect-duplicated-deps\unplugin-detect-duplicated-deps\tests\fixtures\mono\app', failed: true, timedOut: false, isCanceled: false, killed: false }
|
test (windows-latest, 18)
Process completed with exit code 1.
|