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.

When space in workspace path, ERROR

See original GitHub issue

Hello NX I notice that if i want to create new workspace with npx create-nx-workspace@latest in the folder in my PC on location for example D:\Visual Studio 2008\Projects\nameless error occurs

ERROR! nameless/nx.json already exists. ERROR! nameless/tsconfig.base.json already exists. ERROR! nameless/package.json already exists. ERROR! nameless/README.md already exists. ERROR! nameless/.editorconfig already exists. ERROR! nameless/.gitignore already exists. ERROR! nameless/.prettierignore already exists. ERROR! nameless/.prettierrc already exists. ERROR! nameless/angular.json already exists. ERROR! nameless/decorate-angular-cli.js already exists. ERROR! nameless/tools/tsconfig.tools.json already exists. ERROR! nameless/tools/schematics/.gitkeep already exists. ERROR! nameless/.vscode/extensions.json already exists. ERROR! nameless/apps/.gitkeep already exists. ERROR! nameless/libs/.gitkeep already exists. The Schematic workflow failed. See above. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. (node:11344) UnhandledPromiseRejectionWarning: Error: Command failed: yarn tao new nameless --preset=“angular” --appName=“virmani” --style=“scss” --linter=“tslint” --interactive=false --collection=C:\Users\ADMINI~1\AppData\Local\Temp\1\tmp-113443bk6SGhD4Fru\node_modules@nrwl\workspace\collection.json --cli=ng --nxWorkspaceRoot=D:\Visual Studio 2008\Projects\nameless at checkExecSyncError (child_process.js:611:11) at Object.execSync (child_process.js:647:15) at createApp (C:\Users\Administrator\AppData\Roaming\npm-cache_npx\11344\node_modules\create-nx-workspace\bin\create-nx-workspace.js:424:21) at C:\Users\Administrator\AppData\Roaming\npm-cache_npx\11344\node_modules\create-nx-workspace\bin\create-nx-workspace.js:92:29 at processTicksAndRejections (internal/process/task_queues.js:97:5) (Use node --trace-warnings ... to show where the warning was created) (node:11344) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:11344) [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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
ev45ivecommented, Nov 22, 2020

Why is it closed? in “@nrwl/cli”: “10.4.4” and in create-nx-workspaces, it’s still not fixed.

0reactions
agalaziscommented, Jan 5, 2021

@ev45ive @vsavkin I think it was closed by accident all the referenced to code that fixes are in third party repo that had no pr nor merged back to this repo I guess

Read more comments on GitHub >

github_iconTop Results From Across the Web

White space in Workspace map name, causing errors
I'm trying to set up a project using Perforce as the VCS and it can't connect to the VCS. When test the connection,...
Read more >
Error when path contain spaces - Arcpy Integrate
I know that I need to use path in a raw string format (r' '). But, how to do this since path is...
Read more >
How can you get the workspace if there is a space in the folder ...
I am trying to give jenkins permissions to run a bash script, but because of the space in the folder name I get...
Read more >
Manage Workspace Issues - Changing the Local Path of a ...
When you go back into Manage Work Spaces, it shows the new location (This does save), but the actual local path in Source...
Read more >
Cannot create new project when workspace name contains ...
Problem. When the path of an IBM Integration Designer workspace contains a space, exceptions can be found in the Problems view and in...
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