cli: TS Error when run generation
Describe the bug
TypeScript error when run generation from template/
How to Reproduce
- Install node (tested with 16 and 18)
- Install latest cli
- Checkout asyncapi/java-spring-template
- Run command
asyncapi generate fromTemplate tests/mocks/mqtt.yml @asyncapi/java-spring-template -o spring-output-test
- Error:
error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node12', 'nodenext'.
Additional details: OS - Windows 11
asyncapi --version
@asyncapi/cli/0.40.8 win32-x64 node-v16.20.0
Expected behavior
No error when run generation from template
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 22 (21 by maintainers)
@derberg I have a small update here. For the version
@asyncapi/cli/0.54.4 win32-x64 node-v18.17.1
. CLI-Generator will work IF:@Tenischev
0.51
that was just released should fix it ๐ค๐ผ@Souvikns I think you have access to windows, can you help with this issue ๐