kintone/js-sdk

Can't execute the 'integration test' in the Maintenance Guide.

shintaroNagata opened this issue · 0 comments

Target Package

  • @kintone/dts-gen 4.0.0

Environment

  • Operating System: macOS Big Sur 11.2.3
  • Node.js version: 14.16.1

Current Behavior

Following the Maintenance Guide of @kintone/dts-gen, I executed yarn build & node ./dist/integration-tests/setup-test-app.js with some parameters written in the guide.
However, we got the error like bellow:

/path/to/workspace/js-sdk/packages/dts-gen/dist/integration-tests/setup-test-app.js:37
    .version("0.0.1")
     ^

TypeError: program.version is not a function
    at Object.<anonymous> (/path/to/workspace/js-sdk/packages/dts-gen/dist/integration-tests/setup-test-app.js:37:6)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47

Expected Behavior

can execute the setup script with no error.