#Next cli Folder creation bug

11 messages · Page 1 of 1 (latest)

daring delta
#

First i created folder with uppercase
then i tried to scaffold nextjs app with "." to scaffold in the current directory, it threw "Can't create app with upper case letter because of npm registry issue".
then i did:
note: i didn't deleted the previous old folder with same name

cd ..
npx create-next-app@latest 
name of the project: < same as before but all lowercase >

it scaffolded in the old folder which was having the uppercase letters

tardy ravenBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

rustic fractal
#

Im assuming your using windows?

#

Just delete the folder and re-run the command.

#

Generally windows isnt case sensitive. If you are putting this to report the actual bug, not really the place to do that. You should open an issue on github

#

You also shouldnt create the folder, create-next-app will create the folder.

daring delta
rustic fractal
#

It’s a side effect of windows not caring about casing.

#

Case insensitive unlock most other operating systems.

daring delta