Hello!
i'am currently using regtest but the following command: bitcoin-cli -regtest setgenerate true 101
doesn't work and i keep getting the error: /usr/local/lib/node_modules/bitcoin-cli/index.js:27
throw new Error('Coudn\'t found bitcoin.conf file, use --rpcuser=USER and --rpcpassword=PASS');
^
Error: Coudn't found bitcoin.conf file, use --rpcuser=USER and --rpcpassword=PASS
at Object.<anonymous> (/usr/local/lib/node_modules/bitcoin-cli/index.js:27:11)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/bitcoin-cli/bin/bitcoin-cli:5:1)
at Module._compile (module.js:571:32)
could anyone help me ? thank you