meshtastic / network-management-client

A Meshtastic desktop client, allowing simple, offline deployment and administration of an ad-hoc mesh communication network. Built in Rust and TypeScript.
GNU General Public License v3.0
188 stars 14 forks source link

[Bug]: pnpm run rust:dev fails with `Found argument '/usr/bin/node-20' which wasn't expected, or isn't valid in this context` #471

Open alistair23 opened 1 month ago

alistair23 commented 1 month ago

Describe the bug

I have followed the steps from https://github.com/meshtastic/network-management-client?tab=readme-ov-file#installation for Fedora 40, but when running pnpm run rust:dev I get the following error

$ pnpm run rust:dev

> meshtastic-network-management-client@0.3.1 rust:dev /var/home/alistair/sources/network-management-client
> tauri dev -- --no-default-features --

error: Found argument '/usr/bin/node-20' which wasn't expected, or isn't valid in this context

USAGE:
    cargo-tauri [OPTIONS] <SUBCOMMAND>

For more information try --help

To Reproduce

  1. Try to build following steps from https://github.com/meshtastic/network-management-client?tab=readme-ov-file#installation

Expected behavior

Successfully build and run the application

Screenshots

If applicable, add screenshots to help explain your problem.

Machine Information

Additional context

Add any other context about the problem here.

caveman99 commented 1 month ago

Uninformed suggestion: either the node version on fedora 40 is not '20' or the binary is named differently. Can you try a symlink from whatever node is named on your system to /usr/bin/node-20 ?

alistair23 commented 1 month ago

The file does exist

$ ls -al /usr/bin/node-20
-rwxr-xr-x. 1 root root 28176 Sep 11 10:00 /usr/bin/node-20