I have downloaded the Moodle mobile app from GitHub, version 4.4.1. However, when I try to install the node modules using npm install, I encounter an error.
My system configuration is:
OS: Windows 10
Node Version: 18.18.2 (as specified in the package.json file)
Npm Version: 10.7.2
Here is the error message I receive:
npm ERR! code 1
npm ERR! path C:WorkAI Certsmoodleapp-4.4.1node_modulesnx
npm ERR! command failed
npm ERR! command C:Windowssystem32cmd.exe /d /s /c node ./bin/post-install
npm ERR! C:WorkAI Certsmoodleapp-4.4.1node_modulesnxsrcnativenative-bindings.js:244
npm ERR! throw loadError
npm ERR! ^
npm ERR!
npm ERR! Error: The specified module could not be found.
npm ERR! ?C:WorkAI Certsmoodleapp-4.4.1.nxcache18.3.5-nx.win32-x64-msvc.node
npm ERR! at Module._extensions..node (node:internal/modules/cjs/loader:1460:18)
npm ERR! at Module.load (node:internal/modules/cjs/loader:1203:32)
npm ERR! at Module._load (node:internal/modules/cjs/loader:1019:12)
npm ERR! at Module._load (C:WorkAI Certsmoodleapp-4.4.1node_modulesnxsrcnativeindex.js:58:27)
npm ERR! at require (node:internal/modules/helpers:177:18)
npm ERR! at Object. (C:WorkAI Certsmoodleapp-4.4.1node_modulesnxsrcnativenative-bindings.js:66:29)
npm ERR! at Module._compile (node:internal/modules/cjs/loader:1364:14)
npm ERR! at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
npm ERR! at Module.load (node:internal/modules/cjs