question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when user dir has spaces

See original GitHub issue

I’m having issues with generating clients:

When running the following command autorest --input-file=swagger.json --csharp --output-folder=client --namespace=Ksj.Service.Client I get the following error: No configuration found at 'file:///C:/VSProjects/Personal/MealPlan/Service.Client/'. Loading AutoRest extension '@microsoft.azure/autorest.csharp' (~2.2.45) Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.42) 'C:\Users\Kenneth' is not recognized as an internal or external command, operable program or batch file. Process() Cancelled due to exception : [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated. (node:7836) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): Error: [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated. (node:7836) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I’m assuming it’s because of this path: C:\Users\Kenneth Jakobsen\.autorest

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
KennethJakobsencommented, Dec 23, 2017

@olydis it says exception right below that, that’s usually an error right?

1reaction
fearthecowboycommented, Dec 22, 2017

Arg!

This would have happened when I moved away from exec to spawn in the extension Mgr. I’ll fix when I’m back

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - What to do if user folder has a space in directory?
Wrap the directory path in quotes in the annotation file. That is the standard way in Windows to deal with paths with spaces...
Read more >
Build fails with spaces in user directory · Issue #438 - GitHub
Build fails with spaces in user directory #438 ... Fixed a bug where terminal won't build when local user folder has spaces #785....
Read more >
I had to rename my username because it had a space in it ...
Essentially the only fix i see to securely resolve this issue will be to do this: 1) Create a new local user account...
Read more >
Error: The Working Directory location cannot have a space in ...
Error: The Working Directory location cannot have a space in the path name. Please specify a new location · 1. Click Start >...
Read more >
Build Process Support for File and Folder Names - MathWorks
Troubleshooting Errors When Folder Names Have Spaces · If the file system is ReFS (Resilient File System), it is an issue. The ReFS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found