Feature request: Browser detection and helpful error message
It's pretty common these days to use packages on npm for either server-side or client-side applications. I've seen a lot of people mistakenly try to use the Twilio helper library in client-side applications like a React app.
Right now it will throw a random error. Instead we should probably give a helpful message. One way could be to detect if the code is being run in a browser environment and throwing an error. But I'm open for other suggestions.
This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.
fs is not resolvable in browser. Ticket seems unnecessary.
