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
Next.js - 12.1.1 -> not allowing npx create-next-app #35607
Comments
I have the same issue. Can not run |
This fixes our package manager detection which was changed slightly in #34947 for `pnpm` support to ensure the default case still attempts detecting the available package manager if no preference is specified in the command args. This also adds a test case to ensure the install succeeds when we fail to detect a valid `yarn` binary and no preference is set via the `npm_config_user_agent` env variable. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes: #35607 Fixes: #35599
when this update will be released @ijjk? |
same error, ideas? |
"npx create-next-app@latest --use-npm" |
this does not help at least for my case it just stuck installing without any progress for about 20+ minutes |
Hi, this has been fixed in the latest version of Next.js |
@ijjk -> Thank you, sir, the problem is solved!!!! and I tried with Thanks a lot! |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
This fixes our package manager detection which was changed slightly in vercel/next.js#34947 for `pnpm` support to ensure the default case still attempts detecting the available package manager if no preference is specified in the command args. This also adds a test case to ensure the install succeeds when we fail to detect a valid `yarn` binary and no preference is set via the `npm_config_user_agent` env variable. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes: vercel/next.js#35607 Fixes: vercel/next.js#35599
This fixes our package manager detection which was changed slightly in vercel/next.js#34947 for `pnpm` support to ensure the default case still attempts detecting the available package manager if no preference is specified in the command args. This also adds a test case to ensure the install succeeds when we fail to detect a valid `yarn` binary and no preference is set via the `npm_config_user_agent` env variable. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes: vercel/next.js#35607 Fixes: vercel/next.js#35599
Verify canary release
Provide environment information
'next' is not recognized as an internal or external command,
operable program or batch file.
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
after updating the
create-next-app
bynpm install -g create-next-app
after that when I am running the below command to start a Nextjs App, I am getting below error.Expected Behavior
after updating
create-next-app
to 12.1.1,npx create-next-app appname
is not creating the Next appTo Reproduce
I tried
npx create-next-app@latest appname
but it's throwing the same error.even I tried to uninstall the
create-next-app
& reinstalled it but it's throwing the same error.and I install
yarn
globally thennpx create-next-app appname
run command properly without any errorThe text was updated successfully, but these errors were encountered: