MWS Installation Errors

The problem appears to be with your nodejs installation. The error is from node-gyp, which is attempting to build better-sqlite3.

688 error code 1
689 error path C:\Users\stobbea\Desktop\MWS\mws-run-2\node_modules\better-sqlite3
690 error command failed
691 error command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install || node-gyp rebuild --release     
692 error prebuild-install warn install unable to get local issuer certificate
692 error gyp info it worked if it ends with ok
692 error gyp info using node-gyp@11.1.0
692 error gyp info using node@22.14.0 | win32 | x64
692 error gyp info find Python using Python version 3.12.6 found at "C:\Users\stobbea\AppData\Local\Programs\Python\Python312\python.exe"
692 error gyp http GET https://nodejs.org/download/release/v22.14.0/node-v22.14.0-headers.tar.gz
692 error gyp WARN install got an error, rolling back install
692 error gyp ERR! configure error
692 error gyp ERR! stack Error: ENOENT: no such file or directory, open 'C:\path\to\cert.pem'
692 error gyp ERR! stack at async open (node:internal/fs/promises:638:25)
692 error gyp ERR! stack at async Object.readFile (node:internal/fs/promises:1242:14)
692 error gyp ERR! stack at async readCAFile (C:\Users\stobbea\node_modules\npm\node_modules\node-gyp\lib\download.js:31:14)
692 error gyp ERR! stack at async download (C:\Users\stobbea\node_modules\npm\node_modules\node-gyp\lib\download.js:19:22)
692 error gyp ERR! stack at async go (C:\Users\stobbea\node_modules\npm\node_modules\node-gyp\lib\install.js:220:25)
692 error gyp ERR! stack at async install (C:\Users\stobbea\node_modules\npm\node_modules\node-gyp\lib\install.js:63:18)
692 error gyp ERR! stack at async getNodeDir (C:\Users\stobbea\node_modules\npm\node_modules\node-gyp\lib\configure.js:79:7)
692 error gyp ERR! stack at async run (C:\Users\stobbea\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js:81:18)
692 error gyp ERR! System Windows_NT 10.0.22631
692 error gyp ERR! command "C:\\Users\\stobbea\\Programs\\Node\\node.exe" "C:\\Users\\stobbea\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--release"
692 error gyp ERR! cwd C:\Users\stobbea\Desktop\MWS\mws-run-2\node_modules\better-sqlite3
692 error gyp ERR! node -v v22.14.0
692 error gyp ERR! node-gyp -v v11.1.0
692 error gyp ERR! not ok

Thanks for the quick reply. Looks like it’s beyond my capabilities to get this going. I don’t have admin privileges so installing / reinstalling is off-limits for me. I’ll come back to MWS later if an application is built for it. BOB installed perfectly and surprisingly seems to still work, hopefully it will continue to do so until MWS is further along.

Just trying comprehend ERROR 692, alright.
It is a cohort of stuff with, if, using et al, ai ai.

Just wondering what to do with such prolix errors?

The error makes no sense to me. I don’t know why it is looking for a certificate. I think you could try to reinstall NodeJS. Or google the two lines below to see if there’s anything helpful.

692 error prebuild-install warn install unable to get local issuer certificate
692 error gyp ERR! stack Error: ENOENT: no such file or directory, open 'C:\path\to\cert.pem'