- Notifications
You must be signed in to change notification settings - Fork343
Open
Description
Describe the bug
Upgraded gauge-ts from 0.1.0 to 0.1.1 - when I run tests with the commandyarn gauge run specs
, I encounter a TypeError and the tests fail to run.
To Reproduce
Steps (or project) to reproduce the behavior:
- Initialise a gauge project
- Run the gauge command -
yarn gauge run specs
- See error
TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received undefined
Logs
(retail-backend-py3.8) amyrowell@LIN-PF-2VEHJ7 ~/src/sharesies/taiko-end-to-end (upgrade-taiko-dependencies)$ yarn gauge run specs/core_suite.specSnapshots aren't enablednode:internal/validators:120throw new ERR_INVALID_ARG_TYPE(name, 'string', value);^TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received undefinedat new NodeError (node:internal/errors:372:5)at validateString (node:internal/validators:120:11)at normalizeSpawnArguments (node:child_process:505:3)at Object.spawn (node:child_process:693:13)at Object.<anonymous> (/home/amyrowell/.gauge/plugins/ts/0.1.0/launcher.js:154:19)at Module._compile (node:internal/modules/cjs/loader:1105:14)at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)at Module.load (node:internal/modules/cjs/loader:981:32)at Function.Module._load (node:internal/modules/cjs/loader:822:12)at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {code: 'ERR_INVALID_ARG_TYPE'}Error occurred while waiting for runner process to finish.Error : exit status 1Error ----------------------------------[Gauge]Failed to start gauge API: Error occurred while waiting for runner process to finish.Error : exit status 1
Expected behavior
I expect my spec to successfully begin running
Versions:
gauge -vGauge version: 1.4.1Commit Hash: a82478ahtml-report (4.2.0)screenshot (0.1.0)ts (0.1.0)
- Ubuntu 20.04.6 LTS 64-bit
- Node 16.15.0
- VS Code
Additional context
Was also trying to upgrade typescript package from 4.0.3 and had the same issue.
Metadata
Metadata
Assignees
Labels
No labels