'conda skeleton pypi click' does not work on fresh miniconda3 installation on Windows

Today I installed miniconda3 on my Windows 10 machine using the installation executable from the Anaconda download page. Following Getting Started – Conda build, I ran conda install -n base conda-build (I already have git installed on my machine). Following the example on building conda packages, I ran conda skeleton pypi click. This failed with the error

FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Users\<my_username>\AppData\Local\Temp\tmpmqhtvkrrconda_skeleton_click-8.1.8.tar.gz\click-8.1.8\setup.py’

If anyone could shed some light on this, I’d appreciate it!