You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Upgraded gauge-ts from 0.1.0 to 0.1.1 - when I run tests with the command yarn 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.spec
Snapshots aren't enabled
node:internal/validators:120
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received undefined
at 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 1
Error ----------------------------------
[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
This is an issue with node js and typescript versions used by gauge's ts plugin. This should be fixed with a new release of the typescript plugin. Some time this week
This is now fixed with gauge plugin and package version 0.3.0 please upgrade and test it. Closing this for now and will re-open if you seem any more issues.
Describe the bug
Upgraded gauge-ts from 0.1.0 to 0.1.1 - when I run tests with the command
yarn gauge run specs
, I encounter a TypeError and the tests fail to run.To Reproduce
Steps (or project) to reproduce the behavior:
yarn gauge run specs
Logs
Expected behavior
I expect my spec to successfully begin running
Versions:
Additional context
Was also trying to upgrade typescript package from 4.0.3 and had the same issue.
The text was updated successfully, but these errors were encountered: