So, I am having trouble using the node module LevelUp in my react-page project. I am requiring the module here and, initially, I get the following error from one of LevelUps dependencies, complaining that Buffer has not been defined (which is odd, browser-builtins contains buffer-browserify): https://gist.github.com/lyaunzbe/6344834. If I manually add Buffer = require('buffer').Buffer to the file that produces this error, this seems to take away the Buffer issue, but now leaves me with the following error message: https://gist.github.com/lyaunzbe/6345026. You guys have been super supportive and helpful throughout, so I just want to thank you in advance for putting up with my annoying requests :)
So, I am having trouble using the node module LevelUp in my react-page project. I am requiring the module here and, initially, I get the following error from one of LevelUps dependencies, complaining that Buffer has not been defined (which is odd, browser-builtins contains buffer-browserify): https://gist.github.com/lyaunzbe/6344834. If I manually add Buffer = require('buffer').Buffer to the file that produces this error, this seems to take away the Buffer issue, but now leaves me with the following error message: https://gist.github.com/lyaunzbe/6345026. You guys have been super supportive and helpful throughout, so I just want to thank you in advance for putting up with my annoying requests :)