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

Error on Buffer for big files #18

Open
Judahh opened this issue Oct 3, 2022 · 1 comment
Open

Error on Buffer for big files #18

Judahh opened this issue Oct 3, 2022 · 1 comment

Comments

@Judahh
Copy link

Judahh commented Oct 3, 2022

If I zip a really big file I get this error:

Ready to zip ".next/ next/ dist/ public/ node_modules/ script/ package.json" into staging/1.0.0.zip
  - .next/
  - next/ (Not Found)
  - dist/ (Not Found)
  - public/
  - node_modules/
  - script/ (Not Found)
  - package.json
internal/buffer.js:68
    throw new ERR_OUT_OF_RANGE('value', range, value);
    ^
RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= 0 and <= 65535. Received 65844
    at checkInt (internal/buffer.js:68:11)
    at writeU_Int16LE (internal/buffer.js:718:3)
    at Buffer.writeUInt16LE (internal/buffer.js:726:10)
    at Object.toBinary (/__w/_actions/vimtor/action-zip/master/dist/index.js:1655:15)
    at Object.compressToBuffer (/__w/_actions/vimtor/action-zip/master/dist/index.js:1001:24)
    at Object.writeZip (/__w/_actions/vimtor/action-zip/master/dist/index.js:2536:23)
    at Object.104 (/__w/_actions/vimtor/action-zip/master/dist/index.js:[93](https://github.com/alphasistemas/portal/actions/runs/3176283289/jobs/5175400662#step:12:97):5)
    at __webpack_require__ (/__w/_actions/vimtor/action-zip/master/dist/index.js:22:30)
    at startup (/__w/_actions/vimtor/action-zip/master/dist/index.js:37:19)
    at /__w/_actions/vimtor/action-zip/master/dist/index.js:41:18 {
  code: 'ERR_OUT_OF_RANGE'
}
@Judahh Judahh changed the title Erro on Buffer for big files Error on Buffer for big files Oct 3, 2022
@stan-spotts
Copy link

I just got this error too

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

2 participants