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

RangeError [ERR_OUT_OF_RANGE] #319

Open
huddhudd opened this issue Aug 13, 2024 · 2 comments
Open

RangeError [ERR_OUT_OF_RANGE] #319

huddhudd opened this issue Aug 13, 2024 · 2 comments

Comments

@huddhudd
Copy link

asar e data.asar app
node:internal/buffer:88
throw new ERR_OUT_OF_RANGE(type || 'offset',
^

RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 4. Received -1750603808
at new NodeError (node:internal/errors:406:5)
at boundsError (node:internal/buffer:88:9)
at Buffer.readUInt32LE (node:internal/buffer:222:5)
at PickleIterator.readBytes (C:\Users\Administrator\AppData\Roaming\npm\node_modules\asar\node_modules\chromium-pickle-js\lib\pickle.js:65:21)
at PickleIterator.readUInt32 (C:\Users\Administrator\AppData\Roaming\npm\node_modules\asar\node_modules\chromium-pickle-js\lib\pickle.js:39:17)
at module.exports.readArchiveHeaderSync (C:\Users\Administrator\AppData\Roaming\npm\node_modules\asar\lib\disk.js:68:40)
at module.exports.readFilesystemSync (C:\Users\Administrator\AppData\Roaming\npm\node_modules\asar\lib\disk.js:84:25)
at module.exports.extractAll (C:\Users\Administrator\AppData\Roaming\npm\node_modules\asar\lib\asar.js:174:27)
at Command. (C:\Users\Administrator\AppData\Roaming\npm\node_modules\asar\bin\asar.js:72:10)
at Command.listener [as _actionHandler] (C:\Users\Administrator\AppData\Roaming\npm\node_modules\asar\node_modules\commander\index.js:413:31) {
code: 'ERR_OUT_OF_RANGE'
}

Node.js v20.8.0

@erickzhao
Copy link
Member

Hi @huddhudd, do you have a minimal repro for this bug report?

@hallee9000
Copy link

I also encounter this issue. You can try to extract figma.app to reproduce it. Seems like there's a file called .codesign which causes this.

image

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

3 participants