Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

dalelane
Copy link
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 <dale.lane@uk.ibm.com>
Copy link

sonarcloud bot commented Mar 12, 2024

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

Copy link
Member

@dan-r dan-r left a comment

Choose a reason for hiding this comment

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

LGTM

@dalelane
Copy link
Collaborator Author

/rtm

@asyncapi-bot asyncapi-bot merged commit c737dc5 into asyncapi:master Mar 13, 2024
19 checks passed
@asyncapi-bot
Copy link
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