Because appinfo.json is in the outer nova folder. If you are in the inner nova folder, you need to "cd .." first to get out, then run the desktopgen command. Pay attention to where files are located, don't just enter command blindly.