@angelangweihan The lines that you’ve provided don’t show the cause of the error.
If above those lines it mentions peer dependencies then you could try this answer: