Please copy and paste the command you are running and the exact output. It may also be helpful to show your nim file. If your nim file is more than a few lines, please try to create a small file, ideally less than 10 lines, that causes the same error to occur and post that as well.
Nim Compiler Version 1.2.4 [Windows: amd64] Compiled at 2020-06-26 Copyright (c) 2006-2020 by Andreas Rumpf
git hash: ba808ba7eeeab844bf13b81b629845127ff082cd active boot switches: -d:release
I ran it but it only gives me:
"MingW installation found at C:nim-1.2.4_x64nim-1.2.4distmingw64bin Do you want to patch Nim's config to use this? (Not required since it's in your PATH!) (y/n)" And whether I choose y or n, nothing changes