Skip to content
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

form-data failes on browserify due to mime package #91

Closed
mikemaccana opened this issue Nov 26, 2014 · 4 comments
Closed

form-data failes on browserify due to mime package #91

mikemaccana opened this issue Nov 26, 2014 · 4 comments

Comments

@mikemaccana
Copy link

form-data 0.1.4 uses mime 1.2.11 that does content = fs.readFileSync(file, 'ascii') which fails on mime.js:55 when called from browserify.

FYI request (which also requires mime directly, as well as requiring form-data) solved this with moving from mime to the new mime-types fork: see request/request#455

@alexindigo
Copy link
Member

Sorry, for the delay with updates, getting stuff out of the way, so we can update all the deps and release new version. Should be soon.

@simov
Copy link

simov commented Nov 26, 2014

The exact same problem was reported today in the request's chat room, thanks for the heads up @mikemaccana

@mikemaccana
Copy link
Author

Thanks @alexindigo !

@alexindigo
Copy link
Member

Fixed in #95

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

3 participants