NODE_JS' is not defined

Trying to package HTML5 file. In the error file I get ‘NODE_JS’ is not defined’ . I have set the path to the right path in Emscripten. The paths for LLVM_ROOT, etc are OK.

I did use “emsdk-1.22.0-full-64bit” for Emscripten. When I run the GenerateProjectFiles it gives “unexpected version please install 1.21”. Is there anyway to fix this. I do have the path for “NODE_JS” working but have a problem.

I have 1.21 working and here is the

Program.Main: ERROR: Command failed (Result:2): C:\Users\ralphAlien\Documents\GitHub\Unreal44\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game HTML5 Development -noxge. See logfile for details: ‘UnrealBuildTool.txt’

ProcessManager.KillAll: Trying to kill 0 spawned processes.

Program.Main: AutomationTool exiting with ExitCode=2

Domain_ProcessExit

ProcessManager.KillAll: Trying to kill 0 spawned processes.

AutomationToolLauncher exiting with ExitCode=2

copying UAT log files…

RunUAT.bat ERROR: AutomationTool was unable to run successfully.

BUILD FAILED

Hi ,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.