I need to reinstall the smartclient-pro REACT module.
I'm running the following command:
But when I run it, I get an error.
npm --version
10.9.2
What am I doing wrong?
I'm running the following command:
Code:
npm install smartclient-pro --skins=none --username=aaa --password=bbb --branch=13.1
Code:
npm error code 1 npm error path ......\manage_react\node_modules\smartclient-pro npm error command failed npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node update.js false npm error SmartClient Pro requires download credentials. Checking. npm error Install SmartClient 13.1 runtime, build date latest, at .....\manage_react\isomorphic? [yes]: yes npm error Unable to find npm version [status null]: undefined npm error node:events:496 npm error throw er; // Unhandled 'error' event npm error ^ npm error npm error Error: unable to verify the first certificate npm error at TLSSocket.onConnectSecure (node:_tls_wrap:1679:34) npm error at TLSSocket.emit (node:events:518:28) npm error at TLSSocket._finishInit (node:_tls_wrap:1078:8) npm error at ssl.onhandshakedone (node:_tls_wrap:864:12) npm error Emitted 'error' event on ClientRequest instance at: npm error at emitErrorEvent (node:_http_client:104:11) npm error at TLSSocket.socketErrorListener (node:_http_client:518:5) npm error at TLSSocket.emit (node:events:518:28) npm error at emitErrorNT (node:internal/streams/destroy:170:8) npm error at emitErrorCloseNT (node:internal/streams/destroy:129:3) npm error at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { npm error code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' npm error } npm error npm error Node.js v22.17.0
10.9.2
What am I doing wrong?
Comment