In the Docs -> ExtrudeGeometry & ExtrudeBufferGeometry, it's extrudePath option should be Curve not CurvePath.