decomp.me icon indicating copy to clipboard operation
decomp.me copied to clipboard

[BUG] Undefined presets when setting up decomp.me

Open 1superchip opened this issue 1 year ago • 2 comments

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:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior There should be no errors of presets being undefined when setting decomp.me up locally.

Screenshots image

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

1superchip avatar Jul 13 '24 02:07 1superchip

It's platforms[platform] that's undefined here. Could you print platforms and platform and share the values?

ethteck avatar Jul 13 '24 05:07 ethteck

This happens when the localStorage has a platform that is not available.

mkst avatar Jul 22 '24 19:07 mkst

Gonna close this as should no longer be possible with the recent change to platforms/compilers/presets.

mkst avatar Jun 07 '25 21:06 mkst