"NameError: name 'StandardError' is not defined:" when building the Javscript platform

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By godotnoobperson

I’m following the guide here:

When I run this command:

scons platform=javascript tools=no target=release_debug

I get this error:

NameError: name 'StandardError' is not defined:
File "D:\Programs\godot-master\godot-master\SConstruct", line 378:
   detect.configure(env)
File "./platform/javascript\detect.py", line 103:
   em_config = parse_config()
File "./platform\javascript\emscripten_helpers.py", line 15:
   except StandardError as e:

What does this mean?