Skip to content

Can't resolve 'os' #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ErraticFox opened this issue Dec 11, 2018 · 1 comment
Open

Can't resolve 'os' #29

ErraticFox opened this issue Dec 11, 2018 · 1 comment

Comments

@ErraticFox
Copy link

ErraticFox commented Dec 11, 2018

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'
@brettdh
Copy link

brettdh commented Feb 11, 2019

Same issue, but using React Native.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants