Next.js Discord

Discord Forum

Fresh install not working

Answered
Californian posted this in #help-forum
Open in Discord
Avatar
CalifornianOP
Yesterday, I tried to do a fresh install by running
npm create-next-app@latest

I answered the questions as follows:

-Project name: crmnext
-Typescript: No
-ESLint: Yes
-Tailwind: Yes
-src/ dir: No
-App Router: Yes
-Customize default import: No

When I switched to the project directory, and ran npm run dev without making ANY changes whatsoever, I get more error information in the console than I can copy/paste out of it. I've copied what I could into a Discusson on Github: https://github.com/vercel/next.js/discussions/53403

I would really like to start coding, but I can't even get the default app to work!

6 Replies

Avatar
European sprat
Seems like an issue with Windows and the cli you're using
Avatar
European sprat
Answer
Avatar
European sprat
Maybe that can help you figure it out
Avatar
CalifornianOP
Will take a look
Avatar
CalifornianOP
So I had been running the commandline stuff from PowerShell.
When I switched to Command Line and re-installed and run npm run dev, it worked properly. So this was the solution.

Thank you so much @European sprat
Avatar
European sprat
Mark the comment as the solution so if someone else comes across it they can easily see