I'm using React, and in the App.js file, I just tried
const notifier = require('node-notifier'); notifier.notify('Started RH');
(also tried import notifier from 'node-notifier in that first line of course)
and when running locally, it gives the error 'TypeError: net.connect is not a function'. Does anyone know why?
I'm using React, and in the App.js file, I just tried
const notifier = require('node-notifier'); notifier.notify('Started RH');
(also triedimport notifier from 'node-notifier
in that first line of course) and when running locally, it gives the error 'TypeError: net.connect is not a function'. Does anyone know why?