but getting so many errors.. as following, please guide me
[root@ovs3 SIP.js]# npm run build-and-test
> sip...@0.20.0 build-and-test /var/www/html/SIP.js
> npm run build && npm run command-line-test
> sip...@0.20.0 prebuild /var/www/html/SIP.js
> npm run lint
> sip...@0.20.0 lint /var/www/html/SIP.js
> eslint --ext .ts .
/var/www/html/SIP.js/node_modules/eslint/bin/eslint.js:93
} catch {
^
SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sip...@0.20.0 lint: `eslint --ext .ts .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sip...@0.20.0 lint 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/2021-07-17T10_53_25_710Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sip...@0.20.0 prebuild: `npm run lint`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sip...@0.20.0 prebuild 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/2021-07-17T10_53_25_724Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sip...@0.20.0 build-and-test: `npm run build && npm run command-line-test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sip...@0.20.0 build-and-test 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/2021-07-17T10_53_25_737Z-debug.log