I feel incredibly dumb for spending hours on this issue, but this error is caused by having an empty enum file. For my case specifically, PRODUCT_TYPE didn't have any enums.