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.

not able to create new workspace

See original GitHub issue

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation (nx.dev) and found no answer
  • I checked to make sure that this issue has not already been filed
  • I’m reporting the issue to the correct repository (not related to React, Angular or any dependency)

Expected Behavior

Should create a new Workspace I am using Win10 64 Bit, Tried with powershell and git bash

Current Behavior

I allways got an error

Failure Information (for bugs)

npx create-nx-workspace@latest ProjectName npx: installed 169 in 25.87s ? What to create in the new workspace empty [an empty workspace] ? CLI to power the Nx workspace Angular CLI [Extensible CLI for Angular applications. Recommended for Angular pro jects.] Creating a sandbox with Nx… error An unexpected error occurred: “%27%27/@nrwl%2fworkspace: Invalid URI "%27%27/@nrwl%2fworkspace"”. (node:17844) UnhandledPromiseRejectionWarning: Error: Command failed: yarn install --silent at checkExecSyncError (child_process.js:621:11) at Object.execSync (child_process.js:657:15) at createSandbox (C:\Users\Name\AppData\Roaming\npm-cache_npx\17844\node_modules\create-nx-workspace\bin\create-nx-workspace.js:337:21) at C:\Users\Name\AppData\Roaming\npm-cache_npx\17844\node_modules\create-nx-workspace\bin\create-nx-workspace.js:74:36 at processTicksAndRejections (internal/process/task_queues.js:93:5) (node:17844) 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:17844) [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.

If you can provide steps to reproduce from scratch, that would be enormously appreciated (i.e. where the first step is npx create-nx-workspace@latest repro-workspace)

npx create-nx-workspace@latest ProjectName

  • select option for creating angular project
  • select scss for styling

Please provide any relevant information about your setup: node: v12.13.0, npm: 6.13.6 Win 10 64Bit

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
metrophoscommented, Feb 26, 2020

Little hint: My workaround was to remove my global yarn installation.

1reaction
michael-letchercommented, Apr 24, 2020

Updating my global Yarn package fixed it for me as @vsavkin suggested.

npm install -g yarn@latest

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot Create New Workspace - Microsoft Power BI Community
Solved: I cannot create a new workspace even though I am a licensed PRO user. I have been able to create several workspaces...
Read more >
Troubleshoot WorkSpace creation failures - Amazon AWS
First, reset the AD Connector account password. Then, update the service account credentials in AWS Directory Service. Try again to create a new...
Read more >
Create a workspace - Power BI | Microsoft Learn
Select Workspaces > Create workspace. Screenshot of Create workspace. · Give the workspace a unique name. If the name isn't available, edit it...
Read more >
Cannot load or create workspaces - Visual Studio Feedback
I can not load or create workspaces. This is what I am doing. From Source Control Explorer: 1 Click on "Manage Workspaces".
Read more >
Unable to create new workspace - General - Plastic SCM forum
I have created a cloud repo with no issues whatsoever. When I try to create a new local workspace, Plastic tells me that...
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