gpt4 book ai didi

Electron asar Error 'ERR_INVALID_ARG_VALUE(电子合成孔径雷达错误‘ERR_INVALID_ARG_VALUE)

转载 作者:bug小助手 更新时间:2023-10-24 22:09:09 33 4
gpt4 key购买 nike



I have a problem with electron asar, when I use the command asar extract app.asar source-code, in the resource folder of the compressed electron application, I get a source-code folder, which contains 10 files without extension, with a name made of numbers and letters, like '2c038301f4fd0f66706f18083669f6494d16e47f5a7931c2dbba8a674e8e`. I mostly get an error on the terminal side

我对电子asar有一个问题,当我使用asar提取应用程序的命令asar源代码时,在压缩电子应用程序的资源文件夹中,我得到了一个源代码文件夹,其中包含10个没有扩展名的文件,文件的名称由数字和字母组成,就像‘2c038301f4fd0f66706f18083669f6494d16e47f5a7931c2dbba8a674e8e`.一样,我在终端端大多得到一个错误


node:buffer:363
throw new ERR_INVALID_ARG_VALUE.RangeError('size', size);
^

RangeError [ERR_INVALID_ARG_VALUE]: The argument 'size' is invalid. Received 4.614001365766979e+307
at Function.alloc (node:buffer:372:3)
at module.exports.readFileSync (C:\Users\AppData\Roaming\npm\node_modules\asarlib\disk.js:106:23)
at module.exports.extractAll (C:\Users\User\AppDataRoamingnpm\node_modulesasarlib\asar.js:204:28)
at Command.<anonymous> (C:\Users\User\AppData\Roamingnpm\node_modules\asarbin\asar.js:72:10)
at Command.listener [as _actionHandler] (C:\Users\User\AppData\Roamingnpm\node_modules\asar\node_modules\commander\index.js:413:31)
at Command._parseCommand (C:\Users\User\AppData\Roamingnpm\node_modules\asar\node_modules\commander\index.js:914:14)
at Command._dispatchSubcommand (C:\Users\User\AppData\Roamingnpm\node_modules\asar\node_modules\commander\index.js:865:18)
at Command._parseCommand (C:\Users\AppData\Roaming\npm\node_modules\asar\node_modules\commander\index.js:882:12)
at Command.parse (C:\Users\User\AppData\Roaming\npm\node_modules\asar\node_modules\commander\index.js:717:10)
at Object.<anonymous> (C:\Users\User\AppData\Roaming\npm\node_modules\asar\binasar.js:80:9) {
code: 'ERR_INVALID_ARG_VALUE'
}

Node.js v18.14.0```

How to solve this problem to get the source code of the please application?

Get the source code of the application

更多回答
优秀答案推荐
更多回答

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com