Closed nicholasmeyers closed 7 years ago
Looks like the server wasn't able to serve the page where the miner and bindings are available... This might be because the port on which the page is served by default (3002
) was taken. You can try launching the server in a different port using the port
property in the constructorOptions:
const miner = await CoinHive('<site-key>', { port: 3003 });
Or via environment variables, like COINHIVE_PORT=3003 coinhive <site-key>
I tried giving a different port, but the issue still persists
How was this issues resolved?
Благодарю за письмо.Иван
just installed and receive the following error when trying to run the CLI