Unfortunately there doesn't seem to be a proper fix for this without using a different library from eccrypto.
Until the issue is fixed in eccrypto, or @bubble-protocol/crypto is updated to use a different library, the following crude command can be used to obscure the error:
sed -i bak '/secp256k1 unavailable, reverting to browser version/d' <install_path>/node_modules/eccrypto/index.js
Replacing <install_path> with the bubble-tools installation location on your system.
The above warning is displayed on every bubble call.
This is caused by an issue in the eccrypto library, a dependency of @bubble-protocol/crypto: https://github.com/bitchan/eccrypto/issues/86
Unfortunately there doesn't seem to be a proper fix for this without using a different library from eccrypto.
Until the issue is fixed in eccrypto, or @bubble-protocol/crypto is updated to use a different library, the following crude command can be used to obscure the error:
Replacing
<install_path>
with the bubble-tools installation location on your system.