Skip to content

Gauge run specs throw an error for TS project.  #14

Description

@karimnabli

Env

gauge --version
Gauge version: 1.6.6
Commit Hash: 209816e

Plugins

html-report (4.3.1)
screenshot (0.2.0)
ts (0.1.0)
xml-report (0.5.1)

npm --version
10.5.2

Windows10

Steps to reproduce

Step 1

download the template project https://github.com/getgauge/template-ts/releases/tag/v0.0.9

Step 2

unzip the project

Step 3

run
gauge run specs

> gauge run .\specs\
node:internal/errors:541
throw error;
^
TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received undefined
at normalizeSpawnArguments (node:child_process:548:3)
at Object.spawn (node:child_process:754:13)
at Object.<anonymous> (*****\AppData\Roaming\gauge\plugins\ts\0.1.0\launcher.js:154:19)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49 {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v20.12.2
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

Get Support ----------------------------
        Docs:          https://docs.gauge.org
        Bugs:          https://github.com/getgauge/gauge/issues
        Chat:          https://github.com/getgauge/gauge/discussions

Your Environment Information -----------
        windows, 1.6.6, 209816e
        html-report (4.3.1),  screenshot (0.2.0), ts (0.1.0), xml-report (0.5.1)

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