I was trying to fix this problem described in this topic^ but Faced into another issue
What I did is:
>>> which cargo
/Users/lidia/.cargo/bin/cargo
>>> which fuelup
/Users/lidia/.fuelup/bin/fuelup
>>> rm -rf ~/.cargo
>>> rm -rf ~/.fuelup
https://fuellabs.github.io/sway/v0.40.1/book/introduction/installation.html
>>> curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
>>> rustup install stable
>>> rustup update
>>> rustup default stable
>>> curl --proto '=https' --tlsv1.2 -sSf \
https://install.fuel.network/fuelup-init.sh | sh
But anyway Error getting version string
was still present
>>> fuelup show 12:45:26
Default host: aarch64-apple-darwin
fuelup home: /Users/lidia/.fuelup
installed toolchains
--------------------
latest-aarch64-apple-darwin (default)
active toolchain
-----------------
latest-aarch64-apple-darwin (default)
forc : 0.40.1
- forc-client
- forc-deploy : 0.40.1
- forc-run : 0.40.1
- forc-doc : 0.40.1
- forc-explore : 0.28.1
- forc-fmt : 0.40.1
- forc-index : 0.16.2
- forc-lsp : 0.40.1
- forc-tx : 0.40.1
- forc-wallet : 0.2.2
fuel-core : Error getting version string
fuel-indexer : Error getting version string
fuels versions
---------------
forc : 0.42
And all my test that previously was working started to fail with this error
thread 'local_tests::cancel_order_test::cancel_order_test' panicked at 'error: Could not connect to fuel core server.', /Users/lidia/.cargo/git/checkouts/fuels-rs-ce5f345b87bf4c50/70e531f/packages/fuels-test-helpers/src/node.rs:293:9