Synchronously resolve a moduleId as though it were imported from parentOn failure, throws a ResolveMessage