E0142 Routes match the same paths
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
A parameter matches any one segment, so pages/post/[id].duo and pages/post/[slug].duo would both serve /post/7, and neither could be chosen.
How to fix it
Keep one parameter name for this place in the path, or give one route a fixed segment.
In a terminal
duolith explain E0142