Seek help on an error of PackageCompiler

I find the solution, occasionally and luckily, by setting the keywords “incremental = true”. A lot of time is wasted to get the solution. The error message is expected to be more specific for newers.