Hello
I’m trying start validator, and got ERR. I appreciate if some one help me resolve it.
bifrost@tunnel:~/bifrost-node$ npm run set_session_keys – \ –controllerPrivate “XXXX”
@bifrost-platform/bifrost-node@1.0.0 set_session_keys /home/bifrost/bifrost-node
ts-node src/set_session_keys.ts " --controllerPrivate" “XXXXX”
Error: yargs parser supports a minimum Node.js version of 12. Read our version support policy: GitHub - yargs/yargs-parser: 💪 the mighty option parser used by yargs
at Object. (/home/bifrost/bifrost-node/node_modules/yargs-parser/build/index.cjs:1015:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Module._extensions…js (internal/modules/cjs/loader.js:789:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/bifrost/bifrost-node/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/bifrost/bifrost-node/node_modules/yargs/build/index.cjs:1:59793)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Module._extensions…js (internal/modules/cjs/loader.js:789:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/bifrost/bifrost-node/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @bifrost-platform/bifrost-node@1.0.0 set_session_keys: ts-node src/set_session_keys.ts " --controllerPrivate" "XXXX"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @bifrost-platform/bifrost-node@1.0.0 set_session_keys 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! /home/bifrost/.npm/_logs/2022-10-17T10_25_47_171Z-debug.log
bifrost@tunnel:~/bifrost-node$ npm version
{ ‘@bifrost-platform/bifrost-node’: ‘1.0.0’,
npm: ‘6.14.4’,
ares: ‘1.15.0’,
brotli: ‘1.0.7’,
cldr: ‘36.1’,
http_parser: ‘2.9.3’,
icu: ‘66.1’,
modules: ‘64’,
napi: ‘5’,
nghttp2: ‘1.40.0’,
node: ‘10.19.0’,
openssl: ‘1.1.1d’,
tz: ‘2022b’,
unicode: ‘13.0’,
uv: ‘1.43.0’,
v8: ‘6.8.275.32-node.55’,
zlib: ‘1.2.11’ }