asyncapi / java-template

Java template for the AsyncAPI Generator
Apache License 2.0
14 stars 13 forks source link

fix: update version of Node.js used in release workflows #192

Closed dalelane closed 8 months ago

dalelane commented 8 months ago

The last few release workflows have failed with errors such as

Cannot find module 'ajv/dist/compile/codegen' from 'node_modules/ajv-errors/dist/index.js'

Require stack: node_modules/ajv-errors/dist/index.js node_modules/@smoya/multi-parser/node_modules/parserapiv1/... node_modules/@smoya/multi-parser/cjs/parse.js node_modules/@smoya/multi-parser/cjs/index.js node_modules/@asyncapi/generator/lib/parser.js node_modules/@asyncapi/generator/lib/templateConfigValidator.js node_modules/@asyncapi/generator/lib/generator.js

This has been happening since we updated java-template to the newer version of @asyncapi/generator

The simplest workaround seems to be to update to a newer version of Node.js.

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
2.7% Duplication on New Code

See analysis details on SonarCloud

dalelane commented 8 months ago

/rtm

asyncapi-bot commented 8 months ago

:tada: This PR is included in version 0.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: