The purge-chain
command is trying to remove the folder /tmp/alice/chains/local_testnet/db/full
by default, and you don't have anything there.
You can explore where are you keeping this data cd tmp && ls
When you have it you can indicate the path in the flag --base-path
or delete the folder manually rm -r path
In case you are running the node with the flag --tmp
it uses temporary storage and deletes the folder when you stop the chain, which means when you manually go to purge the data, the data has been already deleted.
--tmp: Use temporary storage for chain data (the chain state is deleted on exit)
The --dev
flag also set the --tmp
flag
--dev
Specify the development chain. This flag sets `--chain=dev`, `--force-authoring`, `--rpc-cors=all`, `--alice`, and `--tmp` flags, unless explicitly overridden