Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails when using node 10 #3

Closed
adelphes opened this issue Nov 28, 2018 · 0 comments
Closed

build fails when using node 10 #3

adelphes opened this issue Nov 28, 2018 · 0 comments
Assignees

Comments

@adelphes
Copy link
Owner

The byteLength parameter for writeUint[LB]E must now be <= 6 or an exception is thrown - writing 64-bit integers is not supported.

RangeError [ERR_OUT_OF_RANGE]: The value of "byteLength" is out of range. It must be >= 1 and <= 6. Received 8
      at boundsError (internal/buffer.js:53:9)
      at Buffer.writeUIntLE (internal/buffer.js:475:3)
      at Object.writeWord (lib/elf-writer.js:158:41)
      at ELFHeader.write (lib/elf_header.js:89:12)
      at elf_parts.forEach.elf_part (lib/elf-writer.js:126:18)
      at Array.forEach (<anonymous>)
      at ELFWriter.build (lib/elf-writer.js:125:15)
      at Object.build (lib/elf-writer.js:301:16)
      at Context.<anonymous> (test/test-writer.js:107:37)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant