[Plugin] Build error

I run the build project. I have error.

Writing manifest to C:\Software\GitlabRunner\builds\914aa46e\0\software\unreal-engine-plugin\Teslasuit\HostProject\Saved\Manifest-UE4Editor-Win64-Development.xml
Building 5 actions with 24 processes…
[1/5] PCLaunch.rc
[2/5] SharedPCH.Engine.cpp
C:\Program Files\Epic Games\UE_4.21\Engine\Source\Runtime\InputCore\Classes\InputCoreTypes.h(10): fatal error C1083: Cannot open include file: ‘InputCoreTypes.generated.h’: No such file or directory

Build script:
RunUAT.bat BuildPlugin -Plugin="%cd%/xxx.uplugin" -Package="%cd%/xxx" -Rocket

Plugin without uproject file, only uplugin.

First build generates the files. If you build it again does it still give you that error? If so here is a solution VS cannot find generated.h files - C++ - Epic Developer Community Forums

How can i do? I need to build plugin from (gitlab ci) command line.