I have a workaround.
Install Direwolf20 1.18 on FTB app and open the containing folder.
Open CurseForge and create a new custom profile and name it Direwolf20 1.18 and use Forge version 40.1.30 and run it at least once.
Open the new custom profile's containing folder and copy all the files from...