Ubuntu 18.04 laptop keeps on suspending itself while in use

I did some digging and auth.log has this error message systemd-logind[791]: Suspending… Jan 4 19:19:08 comp-name dbus-daemon[786]: [system] Rejected send message, 1 matched rules; type=”error”, sender=”:1.225″ (uid=1000 pid=9558 comm=”/usr/bin/pulseaudio –start –log-target=syslog ” label=”unconfined”) interface=”(unset)” member=”(unset)” error name=”org.bluez.MediaEndpoint1.Error.NotImplemented” requested_reply=”0″ destination=”:1.6″ (uid=0 pid=843 comm=”/usr/lib/bluetooth/bluetoothd ” label=”unconfined”) Any clues on what might be going on? I tried disabling…

Details

Metamask and Ether.js API

I am trying to use the ether.js API with Metamask (with Ganache GUI i.e. localhost 7545) via the Chrome console. I am getting an error saying that ethers is not defined. > let currentProvider = new web3.providers.HttpProvider(‘http://localhost:7545’); inpage.js:1 < MetaMask: web3 will be deprecated in the near future in favor of the ethereumProvider https://medium.com/metamask/4a899ad6e59e get…

Details