Error: spawn chrome ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
at onErrorNT (internal/child_process.js:465:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted ‘error’ event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
at onErrorNT (internal/child_process.js:465:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: -2,
code: ‘ENOENT’,
syscall: ‘spawn chrome’,
path: ‘chrome’,
spawnargs: [ ‘https://xxxxx.com:9999/index.html’ ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! websdk-cdn@2.9.0 start: set NODE_ENV=development && set BABEL_ENV=development && node corp.js --corp
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the websdk-cdn@2.9.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-03-06T11_23_23_775Z-debug.log
Yes, I watched those videos but it didn’t solve my problem, I just downloaded the Web SDK 2.10.1 and then changed the port, domain name and certificate. But when I run “npm start”, it reports the above error. Please help. Thanks