UnrealEngineHTML5 / Documentation

530 stars 181 forks source link

NODE_JS Not found, PYTHON Not found. #102

Open Jvthewanderer opened 2 years ago

Jvthewanderer commented 2 years ago

I was getting the HTML5 Build going on UnrealHeaderTool until I notice that the UnrealBuildTool couldn't Find Node JS and Python. I'm currently using Python 3.9.2-1_64bit and node 14.15.5_64bit. The UnrealHeaderTool tool is Looking for a Node 12.18.1_64bit and a python 3.7.4_64Bit.

Is there a way I could go in and change the directories so it can find the latest ones?

Output:

Build started... 1>------ Build started: Project: UnrealHeaderTool, Configuration: Development_Program x64 ------ 1>UnrealBuildTool : error : NODEJS NOT FOUND: C:\Users\james\ue4-4.24.3-html5\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.18\node\12.18.1_64bit\bin\node.exe 1>*** NODE_JS NOT FOUND: error_nodejs_not_found 1>*** PYTHON NOT FOUND: C:\Users\james\ue4-4.24.3-html5\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.18\python\3.7.4_64bit\python.exe 1>*** NODE_JS NOT FOUND: error_nodejs_not_found 1>*** PYTHON NOT FOUND: C:\Users\james\ue4-4.24.3-html5\Engine\Platforms\HTML5\Build\emsdk\emsdk-1.39.18\python\3.7.4_64bit\python.exe 1>Using 'git status' to determine working set for adaptive non-unity build (C:\Users\james\ue4-4.24.3-html5). 1>Creating makefile for UnrealHeaderTool (no existing makefile) 1>Building UnrealHeaderTool... 1>Using Visual Studio 2017 14.16.27035 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10). 1>Distributing 44 actions to XGE

quevivasbien commented 2 years ago

I have the same issue. I think I've been able to get around this by just changing the folder name in the emsdk directory to match what the built tool is looking for, but that seems like a really sketchy solution. I'm not sure what the right way to fix it is.

EDIT: This causes problems further down the line. I think to get this to work you need to follow the advice given here.

kithe-raker commented 2 years ago

I've fixed this issue by following these steps

Mootbing commented 1 year ago

we need to pin this