-
Notifications
You must be signed in to change notification settings - Fork 214
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
WSL: Kiota.Builder.KiotaBuilder[0]: error generating the client: Access to the path is denied. #3213
Comments
Oh, thinking it might be a mount point thing, I intentionally tried a path under |
Interestingly, on powershell core on windows, the error message is slightly different for the local file case. Note the last character is missing from the filename in the error message.
Attempting to download a URI for the spec also fails in powershell core on windows.
|
With debug logging, it's clear that the file is present and the content accurate.
|
Hi @daveneeley |
Thanks for following up. The error messages that are shown here have no obvious connection to #2363. In order to get a somewhat useful error message (without asking for help) I had to compile from source and change |
yes there are improvements required in that space. We're mostly waiting on proper external references support in OpenAPI.net to make any further investment in that space at this point. Which may lead to confusing situations like the one you've experienced. |
Hello. I'm excited to try this project out, but I've not been able to get it running in WSL Ubuntu 22.04.
I've installed kiota through asdf, and also downloaded it directly from the site. I've also tried v 1.4.0 and v1.5.1. If I try to
kiota show
a remote spec, I receive a 404 not found error. If I download the spec to a local file,kiota show
returnsAccess to the path is denied
. It doesn't work withsudo
either.I'm not sure to what to do with it at this point. Is this a WSL thing or a kiota thing?
The text was updated successfully, but these errors were encountered: