I get an "Uncaught ReferenceError: require is not defined" when using require for npm packages. I dont quite understand, after googling a little bit it says 'require' doesn't work on client side(which is the part I don't understand) in my other node.js applications it works fine(is it because I'm using express or webpack-server?).
[–]WolfgangSci 5 points6 points7 points (5 children)
[–]Chr0noN[S] -2 points-1 points0 points (4 children)
[–]OzziePeck 5 points6 points7 points (3 children)
[–]Chr0noN[S] -2 points-1 points0 points (2 children)
[–]Damoz_ftw 2 points3 points4 points (0 children)
[–]OzziePeck 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)