Do not add flour directly to the dough. Instead, transfer the gnocchi to a clean worktop, dust the worktop with flour, and gently work the dough there. Do more of a rolling, compacting movement than kneading.