[Exception] No input files provided
See original GitHub issueDescribe the bug The following error occurred when running “autorest” in the Azs.Backup.Admin Azure Stack module located in “…\Azure\azurestack-powershell\src\Azs.Backup.Admin”. The result is no files are generated by autorest.
Here is the repository: https://github.com/Azure/azurestack-powershell
PS C:\tasks\Azure\azurestack-powershell\src\Azs.Backup.Admin> autorest
AutoRest code generation utility [cli version: 3.0.6247; node: v12.18.3, max-memory: 2048 gb]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
There is a new version of AutoRest available (3.0.6339).
> You can install the newer version with with npm install -g autorest@latest
Loading AutoRest core 'C:\Users\weshi1\.autorest\@autorest_core@3.0.6373\node_modules\@autorest\core\dist' (3.0.6373)
The default version of @autorest/powershell has been bummped from 2.1+ to 3.0+.
> If you still want to use 2.1+ version, please specify it with --use:@autorest/powershell@2.1.{x}, e.g 2.1.401.
Loading AutoRest extension '@autorest/powershell' (~3.0.0->3.0.421)
Loading AutoRest extension '@autorest/modelerfour' (4.15.414->4.15.414)
[Exception] No input files provided.
Use --help to get help information.
Expected behavior The module should build and not throw an exception as it did in older autorest versions.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
"No Input Files Provided" after update of Autorest to 2.0.4210
[Exception] No input files provided. This is happening on multiple computers that we develop on. The configuration file has not changed as ...
Read more >c# - Autorest Failed resolving swagger.json against file when ...
I unchecked ssl and ran the following successfully. autorest --v3 --input-file=http://localhost:60705/swagger/v1/swagger.json --csharp --output- ...
Read more >Autorest is failing in generating sdk with "[Exception] No input files ...
Trying to generate sdk through autorest but getting error "[Exception] No input files provided." Even input file is configured in config file.
Read more >AutoRest Command Line Interface Documentation
AutoRest will use a configuration file to control the code generation process. By default, AutoRest will look for a file called readme.md or...
Read more >Compiler/CCSTUDIO: Linkage problems for MSP430FR2433 ...
LTS/lib/libc.a to a compatible library, as no input files have been encountered fatal error #10009: no input files.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe it should be
--version:3.1.0-dev.2
. And with this version, I will run the issue as below.Thanks @timotheeguerin, removing the condition worked for the module.