I have added OneSignal to my NextJS app using yarn add onesignal-node
and then imported it in my _app.js file like this import * as OneSignal from 'onesignal-node'
but I get
error - ./node_modules/request/lib/har.js:3:0
Module not found: Can't resolve 'fs'
Can someone help. I can't even do a basic import without an error.
Thanks