It would be nice to add a message in the assertion that explains the assertion itself. At the moment there isn't much context _Originally posted by @ematipico in https://github.com/oxc-project/oxc-resolver/pull/92#discussion_r1495724266_