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.

Fail to create a new workspace

See original GitHub issue

Issue Description

Current Behavior

When I try to create a new workspace, the command fails on Creating your workspace step

Expected Behavior

Creating a new workspace should proceed successfully

Steps to Reproduce

To reproduce this error, simply use the following command

➜ npx create-nx-workspace@latest nx-demo
✔ What to create in the new workspace · angular
✔ Application name                    · web
✔ Default stylesheet format           · css
✔ Use Nx Cloud? (It's free and doesn't require registration.) · No

 >  NX   Nx is creating your v14.3.6 workspace.

   To make sure the command works reliably in all environments, and that the preset is applied correctly,
   Nx will run "npm install" several times. Please wait.

✔ Installing dependencies with npm
✖ Creating your workspace

 >  NX   Nx failed to create a workspace.

   Exit code: 1
   Log file: /var/folders/_n/qxp965xd3pgcl2gbwxx3hx600000gn/T/tmp-74956-9yzZ5vUR6KEc/error.log

Failure Logs

>  NX  Generating @nrwl/workspace/generators.json:new

CREATE nx-demo/
CREATE nx-demo/.editorconfig
CREATE nx-demo/.gitignore
CREATE nx-demo/.prettierignore
CREATE nx-demo/.vscode/extensions.json
CREATE nx-demo/angular.json
CREATE nx-demo/nx.json
CREATE nx-demo/package.json
CREATE nx-demo/tools/generators/.gitkeep
CREATE nx-demo/tools/
CREATE nx-demo/tsconfig.base.json
CREATE nx-demo/.prettierrc
CREATE nx-demo/decorate-angular-cli.js
CREATE nx-demo/apps/.gitkeep
CREATE nx-demo/libs/.gitkeep

npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN:
npm WARN deprecated source-map-resolve@0.6.0: See
npm ERR! code E404
npm ERR! 404 Not Found - GET - Not found
npm ERR! 404 
npm ERR! 404  '@types/eslint@' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/pblazhevski/.npm/_logs/2022-06-30T19_24_17_434Z-debug-0.log
Command failed: npm install


Node: 16.15.1
npm: 8.11.0
Nx: 14.3.6

OS: macOS Monterey 12.4

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

Kolahzarycommented, Jun 30, 2022

I tested it now and it worked, (thanks btw)

cakirlarccommented, Jun 30, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot WorkSpace creation failures - Amazon AWS
If you create a WorkSpace from a custom image, creation fails if a user profile for the new user already exists in C:\....
Read more >
Unable to create Workspace | AWS re:Post
Unable to create Workspace · Sometimes running the deployment again after 15-20min will make it successful. · Be sure to look at the...
Read more >
Unable to create new workspace due to issue with selecting ...
Cause. Deleting the default workspace 'Agent workspace' from the all workspaces module i.e. sys_aw_master_config table, deleted the corresponding modules too.
Read more >
Unable to create new workspace after changing a new TFS user
Hi team, We recently had to remove a TFS user in visual studio who doesnt have required license for code checkin etc So...
Read more >
Unable to create a workspace in Power bi service
Hi. Those options were removed by your Power Bi Administrator. The permission to create workspaces or Power Bi Apps can be changed 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 Post

No results found

github_iconTop Related Hashnode Post

No results found