How I can create next-app in the current folder?
I tried:
npx create-next-app@latest . --ts --use-npm
But I get error:
Could not create a project called "folderName" because of npm naming restrictions:
* name can no longer contain capital letters
if you are using linux or mac try this
npx create-next-app@latest ./ --ts --use-npm
it is working for me on both linux and mac
For Windows users use npx create-next-app@latest ./
Note: Your existing folder name can't contain any uppercase characters. Ex: BookStore can be ==> bookstore or book_store
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With