When just including the latex package pdfpages I get following errors
! Undefined control sequence. \\nointerlineskip \\AddToHook {shipout/ba