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
Currently, when using dts-gen package with an invalid namespace (containing hyphen characters -), an unclear error message is shown.
Error: failed to fix lint errors on generated type definition file.
at /Users/h000953/Development/js-sdk/packages/dts-gen/dist/templates/template.js:61:15
at Generator.next (<anonymous>)
at fulfilled (/Users/h000953/Development/js-sdk/packages/dts-gen/dist/templates/template.js:28:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Show a clear error message that relates to namespace.
For example: ERR: The namespace is invalid
Actual Behavior
Error: failed to fix lint errors on generated type definition file.
at /Users/h000953/Development/js-sdk/packages/dts-gen/dist/templates/template.js:61:15
at Generator.next (<anonymous>)
at fulfilled (/Users/h000953/Development/js-sdk/packages/dts-gen/dist/templates/template.js:28:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Summary
Currently, when using dts-gen package with an invalid namespace (containing hyphen characters
-
), an unclear error message is shown.Target Package
@kintone/dts-gen
Target Version
6.1.31
Reproduction
Run the following command:
** Invalid namespace: sample-fields
** Valid namespace: sampleFields
Expected Behavior
Show a clear error message that relates to namespace.
For example:
ERR: The namespace is invalid
Actual Behavior
Environment
System:
OS: macOS 13.3.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 3.44 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.5.1 - /usr/local/bin/npm
Browsers:
Chrome: 113.0.5672.126
Safari: 16.4
The text was updated successfully, but these errors were encountered: