Overtorment / Cashier-BTC

💰 Self-hosted Bitcoin payment gateway (฿)
286 stars 101 forks source link

npm test error #26

Open ermya opened 4 years ago

ermya commented 4 years ago

Hi i do npm test and face me error i have installed btc full node and also couchdb and i just configure the config js file and then i just run npm test and face me error :

SyntaxError: Unexpected token ( at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10) at Module._compile (module.js:549:28) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at /downloads/Cashier-BTC/node_modules/mocha/lib/mocha.js:231:27 at Array.forEach (native) at Mocha.loadFiles (/downloads/Cashier-BTC/node_modules/mocha/lib/mocha.js:228:14) at Mocha.run (/downloads/Cashier-BTC/node_modules/mocha/lib/mocha.js:536:10) at Object. (/downloads/Cashier-BTC/node_modules/mocha/bin/_mocha:573:18) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.runMain (module.js:611:10) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:160:9) at bootstrap_node.js:507:3 npm ERR! Test failed. See above for more details

its installed on centos 7 x64

is there any customization for centos ?