#!/usr/bin/env node error
Closed this issue · 3 comments
harrington101 commented
The first line in the code reads "#!/usr/bin/env node" and it appears to be causing the code to crash in javascript es6.
yetzt commented
the first line is a shebang and tells the shell what interpreter to use. works fine with node up to v14. can't reproduce any crashes. please be more specific.
AdamGerthel commented
yetzt commented
it was never designed to be used in a browser. the file has a shebang. its meant to be used in a posix environment. a browser is not a posix environment.
the code is public domain, it's trivial to copy it into whatever code you want to use in your browser and run it, without wrapping it in three layers of webpack to shoehorn the module.exports into the dom.
won't fix.