Skip to content

Add arch to exported os methods #44

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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

garajo
Copy link

@garajo garajo commented Aug 3, 2018

I'm using a library which depends on package xhr2 and was getting an error

Uncaught TypeError: os.arch is not a function

which was getting invoked here, https://github.com/pwnall/node-xhr2/blob/4a2c826f60342501dc51e708882748840ba5dc6b/src/001-xml_http_request.coffee#L395

I'm using a library which depends on package `xhr2` and was getting an error 
```
Uncaught TypeError: os.arch is not a function
```
which was getting invoked here, https://github.com/pwnall/node-xhr2/blob/4a2c826f60342501dc51e708882748840ba5dc6b/src/001-xml_http_request.coffee#L395
@wouterlanduydt
Copy link

Running into this as well. Anything preventing this PR to be merged?

@mrmartineau
Copy link

@calvinmetcalf any news on this PR?

@Matthew-Smith
Copy link

Encountering this as well

@akauppi
Copy link

akauppi commented Dec 13, 2019

Please compare with https://github.com/calvinmetcalf/rollup-plugin-node-builtins/pull/52/files - duplicate but slightly different.

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

Successfully merging this pull request may close these issues.

5 participants