Open codeviking opened 10 years ago
Did you ever manage to resolve this? I'm also experiencing the same issue. Wonder if the browserify api has changed fairly recently.
@skyhaikuteam I did not. I ended up not using the package due to the issue.
@codeviking @skyhaikuteam browserify now automatically uses http-browserify
for http
by default:
https://github.com/substack/node-browserify/blob/master/lib/builtins.js
exports.http = require.resolve('http-browserify');
the config from the readme is no longer needed (and should probably be deleted):
When I dial this into the latest browserify:
I get an error saying
Error: path must be a string.
Please update with correct configuration instructions!