Troubleshootingtroubleshooting / localhost

Localhost Issues

Apa ini

Page ini bantu bila pelajar tidak boleh buka project di localhost.

Checkpoint biasa:

Checkpoint

http://localhost:3000

Kenapa penting

Kalau localhost tidak berjalan, pelajar belum patut bina feature.

Localhost ialah proof pertama yang setup project healthy.

Apa nak buat

  1. Restart IDE.
  2. Check Node.js installed.
  3. Buka project folder yang betul.
  4. Buka IDE terminal.
  5. Run project command semula.
  6. Baca terminal output.

Prompt:

Copy prompt
My localhost is not working.

Here is my terminal output:
[paste output]

Help me fix only the next step.

Mistake biasa

  • Run command dalam folder salah.
  • Ignore terminal error.
  • Buka localhost URL yang salah.
  • Sambung bina feature walaupun setup belum betul.

Next step

Pergi ke Errors.