[Windows] Can't create new project using CLI if pc account name contains space
I'm submitting a...
[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
D:\project>nest new nestforum
⚡️ Creating your Nest project... 🙌 We have to collect additional information:
? description : description ? version : 1.0.0 ? author :
💥 Thank you for your time!
'C:\Users\Huynh' is not recognized as an internal or external command, operable program or batch file. 🙀 Failed to execute command: C:\Users\Huynh Quang\AppData\Roaming\npm\node_modules@nestjs\cli\node_modules.bin\schematics @nestjs/schematics:application --name=nestforum --description=description --version=1.0.0 --author= --dry-run=false (node:7560) UnhandledPromiseRejectionWarning: undefined (node:7560) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:7560) [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.
Expected behavior
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
Nest version:5.1.2
For Tooling issues:
- Node version: 10.1
- Platform: Windows
Others:
cc @ThomRick
I'm on it ! Thanks for feedbacks !
Close here because it is opened on nest-cli repos here https://github.com/nestjs/nest-cli/issues/123
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.