Closed ArtskydJ closed 9 years ago
oh this is bug in browserify. browserify's aim is to provide node on the browser, to it should theirfore handle this. I think i remember fixing this bug in browserify. what version are you using?
I was using browserify@4.2.0
, so I updated to browserify@10.2.6
. The build still fails due to brfs.
Since this is not an issue with JSONStream
, I'm closing this issue and opening an issue on brfs
.
:+1: for open source!
The first line of index.js,
#! /usr/bin/env node
, causes browserify to throw an error when using brfs.Moving the CLI to a separate file, or just deleting the line should fix the issue.