Skip to content

error while installing #292

Open
Open
@vanderleisp

Description

I´ve tried several ways to install PGLITE, but even forcing its install on backend folder then getting back to the main folder, and running "quick" I´ve always get error, like the below, on a Windows 11 machine.
Did pnpm install @electric-sql/pglite on the backend folder, and seems it installed, but then again trying to run the quick command and got the same error.

===============

$ pnpm quick

@cellajs/[email protected] quick C:\Temp\cellaJS\cella
pnpm --filter backend run quick & turbo dev --filter frontend --filter tus

[email protected] quick C:\Temp\cellaJS\cella\backend
PGLITE=true tsx scripts/quick.ts && PGLITE=true pnpm dev

'PGLITE' is not recognized as an internal or external command,
operable program or batch file.
C:\Temp\cellaJS\cella\backend:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  [email protected] quick: PGLITE=true tsx scripts/quick.ts && PGLITE=true pnpm dev
Exit status 1
turbo 2.3.3

• Packages in scope: frontend, tus
• Running dev in 2 packages
• Remote caching disabled
frontend:dev: cache bypass, force executing 3098315129c9ec0b
tus:dev: cache bypass, force executing 7536d977a98805bf
tus:dev:
tus:dev: > [email protected] dev C:\Temp\cellaJS\cella\tus
tus:dev: > NODE_ENV=development tsup --watch --onSuccess "tsx dist/index.js"
tus:dev:
tus:dev: 'NODE_ENV' is not recognized as an internal or external command,
tus:dev: operable program or batch file.
tus:dev:  ELIFECYCLE  Command failed with exit code 1.
frontend:dev:
frontend:dev: > [email protected] dev C:\Temp\cellaJS\cella\frontend
frontend:dev: > NODE_ENV=development vite --mode development && node --trace-warnings
frontend:dev:
frontend:dev: 'NODE_ENV' is not recognized as an internal or external command,
frontend:dev: operable program or batch file.
frontend:dev:  ELIFECYCLE  Command failed with exit code 1.
tus:dev: ERROR: command finished with error: command (C:\Temp\cellaJS\cella\tus) C:\Users\xxxxx\AppData\Local\pnpm\pnpm.exe run dev exited (1)
tus#dev: command (C:\Temp\cellaJS\cella\tus) C:\Users\xxxxx\AppData\Local\pnpm\pnpm.exe run dev exited (1)

Tasks: 0 successful, 2 total
Cached: 0 cached, 2 total
Time: 2.429s
Failed: tus#dev

ERROR run failed: command exited (1)
 ELIFECYCLE  Command failed with exit code 1.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions