- Version: 6.1.0
- Platform: linux
- Subsystem: fedora
I misread the doc, i did var Buffer = require('buffer'); and could not figure out why this was true Buffer.alloc===undefined.
Maybe node could display a warning message if someone tries to require buffer like i did, or, maybe it could throw an error as if it was not an existing package ?
I misread the doc, i did
var Buffer = require('buffer');and could not figure out why this was trueBuffer.alloc===undefined.Maybe node could display a warning message if someone tries to require buffer like i did, or, maybe it could throw an error as if it was not an existing package ?