jimp: Error: Node's Buffer() not available
Hi,
I am developing an single page app with vue-cli webpack-simple. The only dependencies are firebase components and this library. The Chrome console is showing the error below:
Uncaught Error: Node's Buffer() not available
at Object.eval (eval at <anonymous> (build.js:1322), <anonymous>:53:11)
at eval (eval at <anonymous> (build.js:1322), <anonymous>:129:30)
at Object.<anonymous> (build.js:1322)
at __webpack_require__ (build.js:658)
at fn (build.js:86)
at eval (eval at <anonymous> (build.js:1239), <anonymous>:8:63)
at Object.<anonymous> (build.js:1239)
at __webpack_require__ (build.js:658)
at fn (build.js:86)
at eval (eval at <anonymous> (build.js:1746), <anonymous>:7:3)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 27 (2 by maintainers)
Reverting to 0.2.27 seems to fix this issue. The 0.2.28 release seems to explicitly mention it broke the browser version. Not sure why this was done in a patch version 🤔
@bufface @gabor @leonardo-sj I agree, the issue should not be closed as this breaks the ability to upgrade. Issues should be made for the most current version of the tool, and left open until the most recent version of the tool doesn’t have the issue anymore.
@westlakem here is my code (It’s exactly how you’re using it):
Btw: this is the version that we are using:
"jimp": "0.2.27"Try use this version.+1