Fresh install not working
Answered
Californian posted this in #help-forum
CalifornianOP
Yesterday, I tried to do a fresh install by running
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
I would really like to start coding, but I can't even get the default app to work!
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/53403I would really like to start coding, but I can't even get the default app to work!
6 Replies
European sprat
Seems like an issue with Windows and the cli you're using
European sprat
Answer
European sprat
Maybe that can help you figure it out
CalifornianOP
Will take a look
CalifornianOP
So I had been running the commandline stuff from PowerShell.
When I switched to Command Line and re-installed and run
Thank you so much @European sprat
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
European sprat
Mark the comment as the solution so if someone else comes across it they can easily see