Skip to content

comand "pnpm run dev" not work #2

@quangtynu

Description

@quangtynu
  • now: my wsl2 have postgresql and ringing
  • i test node-express-prisma-v1-official-app run localhost with database ok. the URL like this: DATABASE_URL="postgresql://postgres:postgres@localhost:5432/realworld?schema=public"
  • so now i goto rakkas-realworld: i need run full stack like demo on node, in dev mode so i can develop or test.
    I did like this:
  1. git clone https://github.com/rakkasjs/rakkas-realworld.git
  2. cd rakkas-realworld
  3. pnpm install
  4. pnpm run configure
  5. pnpx prisma generate
  6. pnpm run dev

so just someting happen. not all

  1. server not run, so not acces to database. api not run...
  2. just client vite run on port like this:

[email protected] dev /home/quangtynu/rakkas-realworld

dotenv vite dev

VITE v3.1.8 ready in 438 ms

➜ Local: http://localhost:5173/
➜ Network: use --host to expose

so I think i mis some thing? dig into package.json file. i know that just script:
dotenv vite dev
so, just vite dev run. not full stack. what wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions