In part 3 I can into the same issue. Had a break github codespace restarted code would not run until export NXF_SYNTAX_PARSER=v1, was run.
I have run into a seperate issue see: Line of code Training > nf-core > part 3 > 3.5 fails me - Ask for help - Seqera Community.