Closed crawlchange closed 2 weeks ago
https://codesandbox.io/p/devbox/jovial-dream-go8s7s
run npx create-react-app@latest
Current behavior is:
"npx: installed 1 in 2.39s Cannot find module 'stream/promises'"
Instead of next.js being installed.
not found: next
create-next-app
next dev (local), next build (local), next start (local), Vercel (Deployed), Other (Deployed)
I'm running on Ubuntu 20.04.5 LTS.
I decided to give next.js a try. According to the documentation, the first step for installing next.js is running npx create-next-app@latest.
This command doesn't work.
This is a fresh installation of node (sudo apt install nodejs and sudo apt install npm right before running the command).
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/jovial-dream-go8s7s
To Reproduce
run npx create-react-app@latest
Current vs. Expected behavior
Current behavior is:
"npx: installed 1 in 2.39s Cannot find module 'stream/promises'"
Instead of next.js being installed.
Provide environment information
Which area(s) are affected? (Select all that apply)
create-next-app
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local), next start (local), Vercel (Deployed), Other (Deployed)
Additional context
I'm running on Ubuntu 20.04.5 LTS.
I decided to give next.js a try. According to the documentation, the first step for installing next.js is running npx create-next-app@latest.
This command doesn't work.
This is a fresh installation of node (sudo apt install nodejs and sudo apt install npm right before running the command).