kreteshq / kretes

A Programming Environment for TypeScript & Deno
https://kretes.dev/
Other
675 stars 35 forks source link

Unable to display the FIRST page at port 5544 . #123

Open jiapei100 opened 2 years ago

jiapei100 commented 2 years ago
  1. It looks everything is running good ...
➜  myWebsite kretes start          
    Kretes  1.0.0-alpha.61
  Database  OK
  Snowpack  OK
TypeScript  OK

warn - You have enabled the JIT engine which is currently in preview.
warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.
       CSS  OK
Started on  http://localhost:5544

----- Logs

listen EADDRINUSE: address already in use :::5544
➜  myWebsite 

Even if I added the following db section in config/default.json as:

  "db": {
    "database": "mydb",
    "user": "postgres",
    "password": "postgres",
    "host": "localhost",
    "port": 5555
  }

I still got the following ERROR messages:

➜  myWebsite kretes start
    Kretes  1.0.0-alpha.61
  Database  Error: connect ECONNREFUSED 127.0.0.1:5555
-> (no explanation available)
  Snowpack  OK
TypeScript  OK

warn - You have enabled the JIT engine which is currently in preview.
warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.
       CSS  OK
Started on  http://localhost:5544

----- Logs

listen EADDRINUSE: address already in use :::5544
➜  myWebsite 

It looks even if I specify a port 5555, Kretes still tries to start on port 5544.

  1. But the website still looks like:

https://raw.githubusercontent.com/LongerVision/Resource/master/Bugs/KretesStart_Failure.png

Any suggestions please?