-
Notifications
You must be signed in to change notification settings - Fork 82
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
Loading failed for local openapi json file #190
Comments
Here is the test run result which only happened on my windows env. Looks like reading the local file fails. |
@yzhe819 I have the same issue on Windows. The absolute path of the api file is recognized as a valid URL (see nodejs/node#34765). |
@ianberryman Thanks for your advice. I use regular expressions instead of URL to avoid this platform issue. Just waiting for code review. Feel free to take a look. |
@yzhe819 Nice, I'm going to pull your fork and use it until the PR is merged |
When I update my project from the old version "0.4.0" to the latest version "0.6.0", I can't start the project.
Below is a screenshot of the error.
screenshot
How to reproduce
I started from the template one
Then update the package
Also, add
url
for fixing url issueThen, I start the project
Check the above screenshot.
The following is my package.json
package.json
Comment
Please let me know if I make any mistakes in the initialization of the project.
PS: Maybe the template example also needs a version update💖
The text was updated successfully, but these errors were encountered: