Fail to create a new workspace
See original GitHub issueCurrent 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/README.md
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/tsconfig.tools.json
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: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz - Not found
npm ERR! 404
npm ERR! 404 '@types/eslint@https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz' 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
Environment
Node: 16.15.1
npm: 8.11.0
Nx: 14.3.6
OS: macOS Monterey 12.4
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tested it now and it worked, (thanks btw)
Should work now, did not try yet myself. https://github.com/DefinitelyTyped/DefinitelyTyped/issues/61032#issuecomment-1171730527