Caused because the load-path is reset to doom-site-load-path in doom-initialize-packages, which was initialized before doom-core-dir was added to it, so core-* libraries couldn't be found.