Clone and install
The root workspace uses pnpm. Its one member package is the local Capacitor push plugin in libs/native/capacitor-push, which pnpm install links so native synchronization can find it. Electron deliberately keeps a separate dependency tree and is installed only for desktop work.
Create the checkout
Section titled “Create the checkout”git clone https://github.com/quwisky/trinity-matrix-client.gitcd trinity-matrix-clientcorepack enablepnpm installA successful install completes without the pnpm-only guard, an unsupported Node message, or a blocked required build script. Keep the generated pnpm-lock.yaml change only when dependency work intentionally changed it.
Confirm the workspace
Section titled “Confirm the workspace”Ask Nx for the application rather than relying on a folder name:
pnpm nx show project trinity --jsonpnpm nx show projectsThe first command should resolve an application whose production build writes the shared web bundle to www/. The second shows the live project names that commands accept.
Install desktop dependencies only when needed
Section titled “Install desktop dependencies only when needed”pnpm electron:installDo not add electron/ to the pnpm workspace. Its package manifest and lockfile belong to the desktop host.
Continue with Run Trinity.