Hello, I'm not quite sure why I'm getting this error. I'm using TypeScript and this is what I have:
import { patreon as patreonAPI, oauth as patreonOAuth } from 'patreon'
Though once I call const patreonOAuthClient = patreonOAuth(CLIENT_ID, CLIENT_SECRET) and I build my application (Electron with Angular2), I get this error
ERROR in ./node_modules/patreon/dist/utils.js
Module not found: Error: Can't resolve 'os' in 'C:\Users\errat\Documents\Projects\Electron\angular-electron\node_modules\patreon\dist'
Hello, I'm not quite sure why I'm getting this error. I'm using TypeScript and this is what I have:
Though once I call
const patreonOAuthClient = patreonOAuth(CLIENT_ID, CLIENT_SECRET)
and I build my application (Electron with Angular2), I get this error