Right now I'm browserifying my code in the gulpfile, and sending it to the appropriate location. however if I want to parse a json file and display it within index.html...
it returns this error:
Uncaught TypeError: require(...).readFileSync is not a function
Here is my code http://pastebin.com/n0BJfZG9 of my gulpfile and app.js
Am I missing something? Why can't I use normal node modules for this kind of thing?
fs. You need to import justfsthen use thefs.readFileSync()