dmatora

Results 101 comments of dmatora

Also tried to use it with React Native and failed Fixed `error: Error: Unable to resolve module 'util' from 'node_modules/miio/lib/discovery.js'` with `yarn add util` Tried to fix `error: Error: Unable...

miio/lib/discovery.js uses https://nodejs.org/api/dns.html which must be replaced with https://github.com/tableau/react-native-dns-lookup miio/lib/network.js uses https://nodejs.org/api/dgram.html which must be replaced with https://github.com/tradle/react-native-udp miio/lib/packet.js uses https://nodejs.org/api/crypto.html which must be replaced with https://github.com/tradle/react-native-crypto miio/lib/tokens.js uses https://nodejs.org/api/fs.html...

Solved with ``` app.on('quit', () => { ioHook.unload(); }); ```

I'm using node v14 and tried to use different electron version from 14 to 20 I've tried to download iohook repo and build iohook using commands like `node build.js --runtime...

Ok, eventually I've launched ``` node build.js --runtime electron --version 14.0.0 --abi 89 ``` And was able to use it with Electron 14.0.0 `node build.js --runtime electron --version 18.0.0 --abi...

it works fine with demonise = false but when I change it to true it crashes when I try ti start it with ``` pm2-gui start /etc/pm2-gui.ini [INFO] Starting... [WARN]...

`pm2 start "pm2-gui start /etc/pm2-gui.ini"` did the trick for me

> Here's how I prepend `[ YYYY/MM/DD - HH:mm:ss ]` to all debug output lines: > > ```js > var moment = require('moment'); > var debug = require('debug'); > debug.formatArgs...

Why there is fse.readJSONSync but not fse.ensureJSONSync?