convert to typescript #686
Annotations
10 errors
Run make lint test:
index.test.ts#L141
Error: Command failed with exit code 1: D:\a\updates\updates\dist\index.js -C --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/ --registry http://localhost:55266/ -f D:\a\updates\updates\fixtures\npm-test\package.json
file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513
const Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {
^
ReferenceError: navigator is not defined
at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Node.js v20.13.1
❯ dist/index-DjtPvDMk.js:2513:12
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ index.test.ts:141:38
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: D:\a\updates\updates\dist\index.js -C --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/ --registry http://localhost:55266/ -f D:\a\updates\updates\fixtures\npm-test\package.json', command: 'D:\a\updates\updates\dist\index.js -C --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/ --registry http://localhost:55266/ -f D:\a\updates\updates\fixtures\npm-test\package.json', escapedCommand: '"D:\a\updates\updates\dist\index.js" -C --githubapi "http://localhost:55264/" --pypiapi "http://localhost:55265/" --registry "http://localhost:55266/" -f "D:\a\updates\updates\fixtures\npm-test\package.json"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513\r\nconst Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {\r\n ^\r\n\r\nReferenceError: navigator is not defined\r\n at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12\r\n at ModuleJob.run (node:internal/modules/esm/module_job:222:25)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)\r\n\r\nNode.js v20.13.1', cwd: 'D:\a\updates\updates', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Run make lint test:
index.test.ts#L155
Error: Command failed with exit code 1: D:\a\updates\updates\dist\index.js -C --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/ -f D:\a\updates\updates\fixtures\npm-empty\package.json
file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513
const Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {
^
ReferenceError: navigator is not defined
at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Node.js v20.13.1
❯ dist/index-DjtPvDMk.js:2513:12
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ index.test.ts:155:38
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: D:\a\updates\updates\dist\index.js -C --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/ -f D:\a\updates\updates\fixtures\npm-empty\package.json', command: 'D:\a\updates\updates\dist\index.js -C --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/ -f D:\a\updates\updates\fixtures\npm-empty\package.json', escapedCommand: '"D:\a\updates\updates\dist\index.js" -C --githubapi "http://localhost:55264/" --pypiapi "http://localhost:55265/" -f "D:\a\updates\updates\fixtures\npm-empty\package.json"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513\r\nconst Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {\r\n ^\r\n\r\nReferenceError: navigator is not defined\r\n at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12\r\n at ModuleJob.run (node:internal/modules/esm/module_job:222:25)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)\r\n\r\nNode.js v20.13.1', cwd: 'D:\a\updates\updates', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Run make lint test:
index.test.ts#L169
Error: Command failed with exit code 1: updates -C --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/ -f D:\a\updates\updates\fixtures\npm-test\package.json
'updates' is not recognized as an internal or external command,
operable program or batch file.
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ index.test.ts:169:40
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: updates -C --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/ -f D:\a\updates\updates\fixtures\npm-test\package.json', command: 'updates -C --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/ -f D:\a\updates\updates\fixtures\npm-test\package.json', escapedCommand: 'updates -C --githubapi "http://localhost:55264/" --pypiapi "http://localhost:55265/" -f "D:\a\updates\updates\fixtures\npm-test\package.json"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: '\'updates\' is not recognized as an internal or external command,\r\noperable program or batch file.', cwd: 'D:\a\updates\updates', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Run make lint test:
index.test.ts#L117
Error: Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/
file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513
const Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {
^
ReferenceError: navigator is not defined
at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Node.js v20.13.1
❯ dist/index-DjtPvDMk.js:2513:12
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ index.test.ts:117:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', command: 'D:\a\updates\updates\dist\index.js -j -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', escapedCommand: '"D:\a\updates\updates\dist\index.js" -j -c --githubapi "http://localhost:55264/" --pypiapi "http://localhost:55265/"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513\r\nconst Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {\r\n ^\r\n\r\nReferenceError: navigator is not defined\r\n at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12\r\n at ModuleJob.run (node:internal/modules/esm/module_job:222:25)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)\r\n\r\nNode.js v20.13.1', cwd: 'C:\Users\RUNNER~1\AppData\Local\Temp\updates-nuYGvI', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Run make lint test:
index.test.ts#L117
Error: Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -g -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/
file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513
const Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {
^
ReferenceError: navigator is not defined
at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Node.js v20.13.1
❯ dist/index-DjtPvDMk.js:2513:12
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ index.test.ts:117:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -g -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', command: 'D:\a\updates\updates\dist\index.js -j -g -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', escapedCommand: '"D:\a\updates\updates\dist\index.js" -j -g -c --githubapi "http://localhost:55264/" --pypiapi "http://localhost:55265/"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513\r\nconst Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {\r\n ^\r\n\r\nReferenceError: navigator is not defined\r\n at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12\r\n at ModuleJob.run (node:internal/modules/esm/module_job:222:25)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)\r\n\r\nNode.js v20.13.1', cwd: 'C:\Users\RUNNER~1\AppData\Local\Temp\updates-nuYGvI', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Run make lint test:
index.test.ts#L117
Error: Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -g -p -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/
file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513
const Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {
^
ReferenceError: navigator is not defined
at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Node.js v20.13.1
❯ dist/index-DjtPvDMk.js:2513:12
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ index.test.ts:117:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -g -p -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', command: 'D:\a\updates\updates\dist\index.js -j -g -p -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', escapedCommand: '"D:\a\updates\updates\dist\index.js" -j -g -p -c --githubapi "http://localhost:55264/" --pypiapi "http://localhost:55265/"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513\r\nconst Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {\r\n ^\r\n\r\nReferenceError: navigator is not defined\r\n at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12\r\n at ModuleJob.run (node:internal/modules/esm/module_job:222:25)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)\r\n\r\nNode.js v20.13.1', cwd: 'C:\Users\RUNNER~1\AppData\Local\Temp\updates-nuYGvI', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Run make lint test:
index.test.ts#L117
Error: Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -R -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/
file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513
const Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {
^
ReferenceError: navigator is not defined
at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Node.js v20.13.1
❯ dist/index-DjtPvDMk.js:2513:12
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ index.test.ts:117:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -R -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', command: 'D:\a\updates\updates\dist\index.js -j -R -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', escapedCommand: '"D:\a\updates\updates\dist\index.js" -j -R -c --githubapi "http://localhost:55264/" --pypiapi "http://localhost:55265/"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513\r\nconst Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {\r\n ^\r\n\r\nReferenceError: navigator is not defined\r\n at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12\r\n at ModuleJob.run (node:internal/modules/esm/module_job:222:25)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)\r\n\r\nNode.js v20.13.1', cwd: 'C:\Users\RUNNER~1\AppData\Local\Temp\updates-nuYGvI', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Run make lint test:
index.test.ts#L117
Error: Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -P -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/
file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513
const Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {
^
ReferenceError: navigator is not defined
at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Node.js v20.13.1
❯ dist/index-DjtPvDMk.js:2513:12
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ index.test.ts:117:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -P -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', command: 'D:\a\updates\updates\dist\index.js -j -P -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', escapedCommand: '"D:\a\updates\updates\dist\index.js" -j -P -c --githubapi "http://localhost:55264/" --pypiapi "http://localhost:55265/"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513\r\nconst Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {\r\n ^\r\n\r\nReferenceError: navigator is not defined\r\n at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12\r\n at ModuleJob.run (node:internal/modules/esm/module_job:222:25)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)\r\n\r\nNode.js v20.13.1', cwd: 'C:\Users\RUNNER~1\AppData\Local\Temp\updates-nuYGvI', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Run make lint test:
index.test.ts#L117
Error: Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -i noty -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/
file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513
const Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {
^
ReferenceError: navigator is not defined
at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Node.js v20.13.1
❯ dist/index-DjtPvDMk.js:2513:12
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ index.test.ts:117:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -i noty -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', command: 'D:\a\updates\updates\dist\index.js -j -i noty -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', escapedCommand: '"D:\a\updates\updates\dist\index.js" -j -i noty -c --githubapi "http://localhost:55264/" --pypiapi "http://localhost:55265/"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513\r\nconst Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {\r\n ^\r\n\r\nReferenceError: navigator is not defined\r\n at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12\r\n at ModuleJob.run (node:internal/modules/esm/module_job:222:25)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)\r\n\r\nNode.js v20.13.1', cwd: 'C:\Users\RUNNER~1\AppData\Local\Temp\updates-nuYGvI', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Run make lint test:
index.test.ts#L117
Error: Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -i noty -i noty,noty -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/
file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513
const Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {
^
ReferenceError: navigator is not defined
at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Node.js v20.13.1
❯ dist/index-DjtPvDMk.js:2513:12
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ index.test.ts:117:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: D:\a\updates\updates\dist\index.js -j -i noty -i noty,noty -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', command: 'D:\a\updates\updates\dist\index.js -j -i noty -i noty,noty -c --githubapi http://localhost:55264/ --pypiapi http://localhost:55265/', escapedCommand: '"D:\a\updates\updates\dist\index.js" -j -i noty -i "noty,noty" -c --githubapi "http://localhost:55264/" --pypiapi "http://localhost:55265/"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513\r\nconst Ve = navigator.userAgentData && navigator.userAgentData.brands.find(({ brand: e }) => e === "Chromium")?.version > 93 ? 3 : /\b(Chrome|Chromium)\//.test(navigator.userAgent) ? 1 : 0, Ws = Ve !== 0 && {\r\n ^\r\n\r\nReferenceError: navigator is not defined\r\n at file:///D:/a/updates/updates/dist/index-DjtPvDMk.js:2513:12\r\n at ModuleJob.run (node:internal/modules/esm/module_job:222:25)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)\r\n\r\nNode.js v20.13.1', cwd: 'C:\Users\RUNNER~1\AppData\Local\Temp\updates-nuYGvI', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Loading