Running web client fails

Open
#1,433 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript, vite

Research direction

Start with the README’s web-client instructions and the workspace package scripts, then inspect the @meshtastic/protobufs build that fails at buf generate. Check how the repository expects buf to be installed and whether the documented dev script matches the current package. Done means the README commands work as documented, or the instructions clearly explain the required setup.

Written by the indexing model from the issue text.

Description

Following the readme.
getting to:
Run the web client

pnpm --filter @meshtastic/web dev

I get a:

~/gits/web$ pnpm --filter @meshtastic/web dev
[ERR_PNPM_RECURSIVE_RUN_NO_SCRIPT] None of the selected packages has a "dev" script

Ignoring that doesn't do any good for the build either.

Gives:

:~/gits/web$ pnpm -r build
Scope: 12 of 13 workspace projects
packages/protobufs build$ pnpm run clean && pnpm run gen
│ $ rimraf packages/ts/dist
│ $ buf generate
│ sh: 1: buf: not found
│ [ELIFECYCLE] Command failed.
└─ Failed in 7.9s at /home/chas/gits/web/packages/protobufs
packages/ui build$ vite build && publint
│ vite v8.1.5 building client environment for production...

│ transforming...✓ 1865 modules transformed.
│ rendering chunks...
└─ Running...
/home/chas/gits/web/packages/protobufs:
[ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL] @meshtastic/[email protected] build: pnpm run clean && pnpm run gen

So there's something at the run client that's not working.

I'm no coder but I'd say it's buf not being found. What particular buf that is I'm not sure.

Dominant language
TypeScript
Stars
861
Forks
316
Avg merge
2d 10h
Merged PRs (30d)
18

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meshtastic/web

All issues in meshtastic/web

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.