Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nx failed to create new workspace #23155

Closed
1 of 4 tasks
zmzlois opened this issue May 2, 2024 · 2 comments
Closed
1 of 4 tasks

Nx failed to create new workspace #23155

zmzlois opened this issue May 2, 2024 · 2 comments

Comments

@zmzlois
Copy link

zmzlois commented May 2, 2024

Current Behavior

At the end of the creation command and selection:

npx create-nx-workspace@latest

✔ Where would you like to create your workspace? · omfg
✔ Which stack do you want to use? · react
✔ What framework would you like to use? · nextjs
✔ Integrated monorepo, or standalone project? · integrated
✔ Application name · omfg
✔ Would you like to use the App Router (recommended)? · Yes
✔ Would you like to use the src/ directory? · Yes
✔ Test runner to use for end to end (E2E) tests · cypress
✔ Default stylesheet format · tailwind
✔ Do you want Nx Cloud to make your CI fast? · skip

I can't create a new nx workspace and the error is:

NX   Failed to create a workspace.
Error: npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
Screenshot 2024-05-02 at 22 58 21

Expected Behavior

I should be creating an Nx workspace successfully. This is the first time I have this issue.

GitHub Repo

No response

Steps to Reproduce

  1. I don't think there is a way to reproduce.

Nx Report

I can't create an Nx workspace so I don't have a report on that. 

## Environment
System:
OS: macOS 14.2.1
CPU: (12) arm64 Apple M2 Pro
Memory: 245.33 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.11.0 - /usr/local/bin/node
Yarn: 1.22.21 - /usr/local/bin/yarn
npm: 10.2.4 - /usr/local/bin/npm
pnpm: 8.7.6 - /usr/local/bin/pnpm
bun: 1.0.35 - /usr/local/bin/bun
Browsers:
Chrome: 124.0.6367.61
Safari: 17.2.1
npmPackages:
next: 14.2.2 => 14.2.2

Failure Logs

NX   Failed to create a workspace.
Error: npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead

Package Manager Version

npm 10.2.4

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

N/A

@zmzlois
Copy link
Author

zmzlois commented May 4, 2024

This issue is fixed by using version 18.2.2

@zmzlois zmzlois closed this as completed May 4, 2024
Copy link

github-actions bot commented Jun 5, 2024

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant