Skip to content

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

Merged
asyncapi-bot merged 1 commit into
asyncapi:masterfrom
dalelane:release-workflow-fix
Mar 13, 2024
Merged

asyncapi-bot merged 1 commit into
asyncapi:masterfrom
dalelane:release-workflow-fix

Conversation

@dalelane

Copy link
Copy Markdown
Collaborator

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.

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.

Signed-off-by: Dale Lane <[email protected]>
@sonarqubecloud

Copy link
Copy Markdown

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

@dan-r dan-r left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dalelane

Copy link
Copy Markdown
Collaborator Author

/rtm

@asyncapi-bot
asyncapi-bot merged commit c737dc5 into asyncapi:master Mar 13, 2024
@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants