[BUG] Undefined presets when setting up decomp.me
Describe the bug When setting up decomp.me locally, I have run into runtime errors related to presets being undefined for platforms.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior There should be no errors of presets being undefined when setting decomp.me up locally.
Screenshots
Scratches None.
Desktop (please complete the following information if applicable):
- OS: Windows/WSL
- Browser: Edge
Smartphone (please complete the following information if applicable): N/A
Additional context
It's platforms[platform] that's undefined here. Could you print platforms and platform and share the values?
This happens when the localStorage has a platform that is not available.
Gonna close this as should no longer be possible with the recent change to platforms/compilers/presets.