The only way I can recreate your error is through a convoluted method of deleting just 5dims core, without deleting 5dims trains, then disabling all mods, and finally reenabling the train vehicles mod. This activates 5dims trains, but does not attempt to download 5dims core (which is a base Factorio thing, and would occur even if you just tried to enable 5dims train, without having 5dims core in the list).
The same error occurs if I delete just 5dims core and the modpack, without deleting 5dims trains. Since the modpack detects 5dims trains, it does not attempt to download 5dims core. But there's no way for the user to have just 5dims trains without 5dims core, unless the user did something weird (downloading 5dims train manually, or deleting a mod as stated above).
I've also tested what happens if you delete all 3 mods: 5dims core, 5dims trains, and the modpack. Then redownloaded the modpack via the in-game mod portal, which downloads both 5dims trains and 5dims core, and it all works as expected. Which leads me to only one conclusion: the issue was caused by user error, or possibly Factorio error, but regardless, not something that can be fixed within the scope of this modpack.
I will reiterate the fix above, regardless of how you got yourself into this bugged state; just manually download 5dims core and it will work.