Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 this issue Oct 12, 2024 · 2 comments
Labels
bug Something isn't working needs investigation Needs more investigation before triage

Comments

@alistair23
Copy link

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

> [email protected] 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

  • OS: Fedora
  • Version: 40

Additional context

Add any other context about the problem here.

@alistair23 alistair23 added bug Something isn't working needs investigation Needs more investigation before triage labels Oct 12, 2024
@caveman99
Copy link
Member

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation Needs more investigation before triage
Projects
None yet
Development

No branches or pull requests

2 participants