vercel / nextjs-portfolio-starter

Easily create a portfolio with Next.js and Markdown.
https://demo.vercel.blog
664 stars 263 forks source link

I couldn't able to run successfully in windows 11 Home machine #29

Open Private-SO opened 1 year ago

Private-SO commented 1 year ago

Node Version:v16.14.2 Next: Latest

After cloning the repo i ran below steps

npx create-next-app --example blog my-blog
cd my-blog
npm run dev

After running npm run dev in the logs i see a statment ready - started server on 0.0.0.0:3000, url: http://localhost:3000 After 2 seconds it it stopped serving. Can't find any logs in console.

Logs:

Inside that directory, you can run several commands:

  npm run dev
    Starts the development server.

  npm run build
    Builds the app for production.

  npm start
    Runs the built app in production mode.

We suggest that you begin by typing:

  cd my-blog
  npm run dev

D:\nextjs-portfolio-starter>cd my-blog

D:\nextjs-portfolio-starter\my-blog>npm run dev

> dev
> next

ready - started server on 0.0.0.0:3000, url: http://localhost:3000

D:\nextjs-portfolio-starter\my-blog>

Any help is appreciated. Thanks