|
Errors installing new modules from NPM registry (using Module Manager) - Printable Version +- NodeActa Forum (https://nodeacta.com/forum) +-- Forum: NodeActa (https://nodeacta.com/forum/forumdisplay.php?fid=8) +--- Forum: Report Bugs & Errors (https://nodeacta.com/forum/forumdisplay.php?fid=11) +--- Thread: Errors installing new modules from NPM registry (using Module Manager) (/showthread.php?tid=7) |
Errors installing new modules from NPM registry (using Module Manager) - john.prsn - 02-16-2026 I have tried to install winax module using System->System Manager->Module Manager app, and I received the following error: gyp info using node-gyp@12.1.0 gyp info using node@24.3.0 | win32 | x64 gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if the py launcher can be used to find Python 3 gyp ERR! find Python - executable path is "" gyp ERR! find Python - "" could not be run gyp ERR! find Python checking if "python3" can be used gyp ERR! find Python - executable path is "" gyp ERR! find Python - "" could not be run gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - executable path is "" gyp ERR! find Python - "" could not be run gyp ERR! find Python checking if Python is C:\Users\WDAGUtilityAccount\AppData\Local\Programs\Python\Python311\python.exe gyp ERR! find Python - version is "" gyp ERR! find Python - version is - should be >=3.6.0 gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED ... gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Users\WDAGUtilityAccount\Documents\NodeActa-dev\Apps\Modules\npm\node_modules\node-gyp\lib\find-python.js:306:11) gyp ERR! stack at PythonFinder.findPython (C:\Users\WDAGUtilityAccount\Documents\NodeActa-dev\Apps\Modules\npm\node_modules\node-gyp\lib\find-python.js:164:17) gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5) gyp ERR! stack at async configure (C:\Users\WDAGUtilityAccount\Documents\NodeActa-dev\Apps\Modules\npm\node_modules\node-gyp\lib\configure.js:27:18) gyp ERR! stack at async run (C:\Users\WDAGUtilityAccount\Documents\NodeActa-dev\Apps\Modules\npm\node_modules\node-gyp\bin\node-gyp.js:81:18) gyp ERR! System Windows_NT 10.0.22621 gyp ERR! command "C:\\Program Files\\NodeActa\\Client\\node.exe" "C:\\Users\\WDAGUtilityAccount\\Documents\\NodeActa-dev\\Apps\\Modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\WDAGUT~1\AppData\Local\Temp\packages\winax\node_modules\winax gyp ERR! node -v v24.3.0 gyp ERR! node-gyp -v v12.1.0 gyp ERR! not ok RE: Errors installing new modules from NPM - root - 02-16-2026 Some NPM modules contain native code, usually c/c++. Sometimes they have precompiled binaries, but if they don't, or if binaries require a different version of node.js, Module Manager will trigger binaries compilation using node-gyp. node-gyp requires Python and Microsoft Visual Studio (with Desktop Development with C++). If you look closely at reported error, you will find the part: gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not... Solution: Please, go to www.python.org, download and install the latest python version. During installation select "Add python to PATH" option. You can also find something like this: gyp ERR! find VS ************************************************************** gyp ERR! find VS You need to install the latest version of Visual Studio gyp ERR! find VS including the "Desktop development with C++" workload.... Solution: Download and run Microsoft Visual Studio Build Tools (https://aka.ms/vs/stable/vs_BuildTools.exe) and don't forget to select "Desktop development with C++" option. WARNING: You might need to restart NodeActa client or even entire PC after installing Python and MS Build Tools |