When I dial this into the latest browserify: ``` var bundle = browserify({ require : { http : 'http-browserify' } }); ``` I get an error saying `Error: path must be a string.` Please update with correct configuration instructions!
Activity
[-]Suggested Setup in README Doesn't work[/-][+]Suggested Setup in README Doesn't Work[/+]skyhaikuteam commentedon Jan 9, 2015
Did you ever manage to resolve this? I'm also experiencing the same issue. Wonder if the browserify api has changed fairly recently.
codeviking commentedon Jan 9, 2015
@skyhaikuteam I did not. I ended up not using the package due to the issue.
deathcap commentedon Feb 11, 2015
@codeviking @skyhaikuteam browserify now automatically uses
http-browserifyforhttpby default:https://github.com/substack/node-browserify/blob/master/lib/builtins.js
the config from the readme is no longer needed (and should probably be deleted):