-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
[BUG] Very out of date package JSON, breaking documentation example. #1562
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
For example, current generator version is: 2.4.1 https://github.com/asyncapi/generator/releases Container for the CLI:2.8.0 is running the following versions:
|
The error |
Does anyone know what the workaround is? |
I am using You can use a compatible version (if you are using |
tried changing it in package.json and then installing cli. installed version of the generator seems OK but then I received following error while using generate:
|
I tried the same. But, when installing the CLI it comes with an older version of the installed packages which causes conflicts. |
using the option --use-new-generator with generate overcomes the problem |
I'm running into a similar issue when running asyncapi generate with the latest version (2.11.1) of asyncapi install.
Looking at the code, the problem seems to be linked to a problem loading @oclif/core/handle.
However, things look consistent in the package.json: |
Hi @Shurtu-gal , could you please explain how to use this flag with the |
This command is there for generating models and uses modelina under the hood. So this flag doesn't make sense there. Could you specify your problem? |
I mentioned it a bit earlier Sorry for piggy-backing on this issue, the error message was the same so I assumed the issues must be related. If the |
The command should be |
Thanks!, I was missing the "models" keyword! :) |
Closing this issue then. Feel free to open it and comment in case any thing is still unresolved. |
Describe the bug.
The documentation example https://www.asyncapi.com/tools/generator is to run using:
However, the versions in the
asyncapi/cli:2.8.0
(and many others) are out of date: package.json.resulting in the following errors:
Expected behavior
Working example from homepage
Screenshots
How to Reproduce
Run the example from the homepage: https://www.asyncapi.com/tools/generator
🥦 Browser
None
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
No, someone else can work on it
The text was updated successfully, but these errors were encountered: