HaxeFoundation / HaxeFoundation/hxnodejs

4.0.9 to 6.9 in Haxe RC2 - Buffer of undefined

Open
#121 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
177
Forks
58
PR merge metrics
No merged PRs in 30d

Description

We have a nodejs application coming out of Haxe code. Somewhere down at line 22000 in our JS Output we have a
`require("Buffer").Buffer`
We updated hxnodejs to 6.x. Now with our NodeJS server we are getting a "TypeError: Cannot read property 'Buffer' of undefined"

Line 4 of the JS output has
`var require = (function(r){ return function require(m) { return r[m]; } })($s.__registry__ || {});`
Commenting this out allows the server to run. It probably will error on anything requiring Buffer...but that isnt tested

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.