-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
TypeError: i.readFile is not a function #247
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. |
hi, i'd like to work on this |
I faced the same issue. I installed an older version and found that it works up to v0.6.3. |
fixed in 7.0.1 |
Describe the bug.
Hi!
There is an error showed in UI when trying to preview
asyncapi.yaml
containing a reference to a local file. The error isTypeError: i.readFile is not a function
.Vscode info:
Version: 1.95.2 (Universal)
Commit: e8653663e8840adaf45af01eab5c627a5af81807
Date: 2024-11-07T11:07:22.054Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin x64 24.1.0
asyncapi-preview version: v0.6.5
Expected behavior
asyncapi.yaml
renders correctly.Screenshots
How to Reproduce
Create
asyncapi.yaml
file with following content:asyncapi.yaml
Create
cluster.yaml
file with following content:cluster.yaml
Open
asyncapi.yaml
preview.🥦 Browser
None
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None
The text was updated successfully, but these errors were encountered: