0

I have a problem. When I use spl-token create-token, it shows:

error: No such file or directory (os error 2).

I've funded a solana wallet in Phantom to create the account. I also made sure to install all dependencies and checked if they were installed, yet it keeps showing the error.

  • Welcome to Stack Overflow. Please take the [tour] to learn how Stack Overflow works and read [ask] on how to improve the quality of your question. Then [edit] your question to include your source code as a [mcve], which can be tested by others. – Progman Oct 16 '21 at 08:25
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Oct 17 '21 at 23:06

1 Answers1

0

This is a common issue when getting started, and means that no keypair has been configured for the Solana CLI just yet. Please follow the instructions to setup your keypair at https://docs.solana.com/wallet-guide/paper-wallet#creating-a-paper-wallet, then the command should work.

Jon C
  • 7,019
  • 10
  • 17