Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG] npx fails to run without empty npm directory #7205

Closed
2 tasks done
Vandivier opened this issue Feb 6, 2024 · 1 comment
Closed
2 tasks done

[BUG] npx fails to run without empty npm directory #7205

Vandivier opened this issue Feb 6, 2024 · 1 comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 10.x

Comments

@Vandivier
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

similar to #6351

I get an error when i run npx create-next-app@latest on a fresh windows machine

Expected Behavior

next.js app is initialized normally; no "folder does not exist" error

Steps To Reproduce

  1. on a fresh Windows machine, install node.js with default options
  2. make a new directory, enter it, and run npx create-next-app@latest
  3. observe that npx fails because there is no npm folder under Roaming. Related Stack Overflow

Environment

details not certain; it was on a student's Windows 10 machine, they installed Node.js today not sure if it was the LTS 20.x or 21.x

@Vandivier Vandivier added Bug thing that needs fixing Needs Triage needs review for next steps Release 10.x labels Feb 6, 2024
@milaninfy
Copy link
Contributor

This does not appear to be an npm issue. It could be Node installation issue.

@milaninfy milaninfy closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 10.x
Projects
None yet
Development

No branches or pull requests

2 participants