Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Can't run tests with latest gauge-ts package #2373

Open
@sharesies-amy

Description

@sharesies-amy

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:

  1. Initialise a gauge project
  2. Run the gauge command -yarn gauge run specs
  3. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp