ps: Fetching base Node.js binaries to PKG_CACHE_PATH , PKG_CACHE_PATH 这个很慢我是自己下载改名了下,这步应该问题不大吧。。
错误描述
预期行为:打包成功
实际行为:
> npm run build
> chat_gpt_oicq@1.0.0 build
> node build.js
patch...
builded app.js..
> pkg@5.8.0
unpatch...
> Warning Cannot include directory %1 into executable.
The directory must be distributed with executable as %2.
%1: node_modules\puppeteer\.local-chromium
%2: path-to-executable/puppeteer
> Warning Cannot include directory %1 into executable.
The directory must be distributed with executable as %2.
%1: node_modules\puppeteer\.local-chromium
%2: path-to-executable/puppeteer
> Warning Failed to make bytecode node18-x64 for file C:\snapshot\chat_gpt_oicq\node_modules\chalk\source\index.js
> Warning Failed to make bytecode node18-x64 for file C:\snapshot\chat_gpt_oicq\node_modules\inquirer\lib\inquirer.js
> Warning Failed to make bytecode node18-x64 for file C:\snapshot\chat_gpt_oicq\node_modules\chalk\source\utilities.js
检查清单
背景信息 当前版本:当前的版本号。 系统:win11系统 VScode本地打包 发布版本:使用的是二进制,npm,还是其他发布版本? API使用:设置的是官方还是第三方API?
错误复现步骤 1.npm run dev能运行
错误描述 预期行为:打包成功 实际行为:
help help help 百度谷歌还是不会,只能玩问了, help help help