[windows] "RangeError: Out of the range index" when the package is only one file, and file size less than 100 bytes
See original GitHub issue[windows] “RangeError: Out of the range index” when the package is only one file, and file size less than 100 bytes
resources >> New Text Document.txt
In “new text document. TXT”, there are one hundred characters “a”, then run the pack command, work fine, But is there a error in 99 characters “a”
command as > asar p .\resources app.asar
RangeError: Out of range index
at Buffer.fill (buffer.js:703:11)
at Pickle.writeBytes (x:\code\electron_src\electron\node_modules\chromium-pickle-js\lib\pickle.js:197:19)
at Pickle.writeString (x:\code\electron_src\electron\node_modules\chromium-pickle-js\lib\pickle.js:173:19)
at Object.module.exports.writeFilesystem (x:\code\electron_src\electron\node_modules\asar\lib\disk.js:60:20)
at x:\code\electron_src\electron\node_modules\asar\lib\asar.js:155:19
at x:\code\electron_src\electron\node_modules\mkdirp\index.js:48:26
at FSReqWrap.oncomplete (fs.js:123:15)
Issue Analytics
- State:
- Created 6 years ago
- Comments:10
Top Results From Across the Web
[windows] "RangeError: Out of the range index" when the package is ...
[windows] "RangeError: Out of the range index" when the package is only one file, and file size less than 100 bytes.
Read more >Folder copy error message when downloading a file that is ...
Describes a folder copy error that occurs because a security change in Windows ... You try to download a file that is larger...
Read more >ArgumentOutOfRangeException Class (System)
The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked...
Read more >"Index was out of range" error message when a Group Policy ...
Fixes reporting issues when you use GPMC on a computer that is running Windows 7 or Windows Server 2008 R2.
Read more >Windows.edb is larger than expected when a PST file is indexed
In this case, the only option to reduce disk usage is to index less content locally (by having Outlook cache less mail locally...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tried to extract app.asar file of Cocos Creator 1.8.2 in
/Applications/CocosCreator.app/Contents/Resources/app.asar
and got this error message.facing the same issue here on a windows 10 machine, does this need a specific version of node or asar to successfully unpack?