CLI Issues and Deprecated Commands in NEAR FastAuth-SDK Documentation
Closed this issue · 3 comments
I'm currently following the documentation provided at https://docs.near.org/tools/fastauth-sdk but have encountered an issue with the CLI. When attempting to use the 'near generate-key' command, I received a message indicating that the command is deprecated in the new NEAR CLI, and I couldn't locate an alternative solution.
Additionally, when trying to use the 'add-key' command, I received an error message stating that the 'add-key' command or the near-add-key extension does not exist. Any assistance or guidance on these issues would be greatly appreciated.
Thank you for your help.
You may have an old version of "NEAR CLI". Check its relevance: https://github.com/near/near-cli-rs/releases/tag/v0.7.4
Please, check that you actually run near-cli-rs and not the old JS version: near --version
. If you want to keep using old CLI, you can run near-cli-rs via npx
Please, provide screenshots of the command you run and the error/unexpected behavior you get
Correct. I used the Cargo CLI and ended up installing an old version. Problem solved. Thank you for your support.