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

When override toolchain from toml file is not installed, show a warning #652

Open
sdankel opened this issue Aug 15, 2024 · 1 comment
Open
Assignees
Labels
good first issue Good for newcomers

Comments

@sdankel
Copy link
Member

sdankel commented Aug 15, 2024

There should be a warning message indicating that the toolchain from the override file needs to be installed. Currently it just shows "not found" for everything in fuelup show

@sdankel sdankel added the good first issue Good for newcomers label Aug 15, 2024
@alfiedotwtf
Copy link
Contributor

This GitHub Issue currently only talks about fuelup show but I think all tools should be included in the fix...

Here's the output for fuelup show on my machine:

> fuelup show
Default host: aarch64-apple-darwin
fuelup home: /Users/alfie/.fuelup

Installed toolchains
--------------------
beta-3-aarch64-apple-darwin (override)
latest-aarch64-apple-darwin (default)

active toolchain
----------------
beta-3-aarch64-apple-darwin (override), path: /Users/alfie/BACKUP/work/fuellabs/worktrees/counter-contract/master/fuel-toolchain.toml
  forc : 0.37.3
    - forc-client
      - forc-deploy : not found
      - forc-run : not found
    - forc-crypto : not found
    - forc-debug : not found
    - forc-doc : not found
    - forc-fmt : not found
    - forc-lsp : not found
    - forc-tx : not found
    - forc-wallet : 0.2.2
  fuel-core : 0.17.11
  fuel-core-keygen : not found

fuels versions
--------------
forc : 0.39

For me the confusing thing was when jumping straight into forc build:

> forc build
error: Found argument 'build' which wasn't expected, or isn't valid in this context

USAGE:
    forc [OPTIONS] <SUBCOMMAND>

For more information try --help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants