Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
karimnabli opened this issue Apr 29, 2024 · 0 comments
Open

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

karimnabli opened this issue Apr 29, 2024 · 0 comments

Comments

@karimnabli
Copy link

karimnabli commented Apr 29, 2024

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant