"raw private key is not valid"

I’m learning about Cadence and block-chain technology, which is fun and new for me, but I keep on running into this error when trying to do things with the Flow emulator in the Flow-CLI. Here are a few of the commands I’ve tried:

  • flow project start-emulator
  • flow project deploy
  • flow scripts execute [script path]

I’ve tried using the private key generated using “flow keys generate”, “flow init”, and “flow emulator start”. Nothing has worked.

What am I doing wrong?