Package Details: wechat-devtools 2:1.06.2308310-1

Git Clone URL: https://aur.archlinux.org/wechat-devtools.git (read-only, click to copy)
Package Base: wechat-devtools
Description: WeChat Devtools For Linux.
Upstream URL: https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html
Keywords: miniprogram nwjs patched wechat weixin
Licenses: unknown
Submitter: bruceutut
Maintainer: gfwgfw
Last Packager: gfwgfw
Votes: 21
Popularity: 0.000011
First Submitted: 2017-08-31 05:54 (UTC)
Last Updated: 2023-09-30 13:15 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 7 Next › Last »

xy_5a commented on 2024-01-28 05:37 (UTC) (edited on 2024-01-28 05:39 (UTC) by xy_5a)

The SSL certificate for npm.taobao.org has expired:

Initializing download: https://npm.taobao.org/mirrors/nwjs/v0.55.0/nwjs-sdk-v0.55.0-linux-x64.tar.gz
SSL error: certificate verify failed

Consider move to npmmirror.com

ystyle commented on 2023-10-30 07:20 (UTC)

python2是不是可以换成python3? 我发现我系统就这个软件需要python2了。

gfwgfw commented on 2023-10-07 09:56 (UTC)

@stvsl2060 @imic Because of npmmirror removed the nodegit binary, there is a temporary solution: fallback to python 3.10.x ( using pacman cache or install pyenv). I tested script in python 3.10.13

stvsl2060 commented on 2023-10-01 09:23 (UTC)

ArchLinux安装报错,全部安装信息如下,可能是版本问题 prepare node v16.4.2 prepare nw-gyp v16.4.2

up to date, audited 1 package in 207ms

found 0 vulnerabilities npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'make-fetch-happen@11.1.1', npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'cacache@17.1.4', npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'minipass-fetch@3.0.4', npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'ssri@10.0.5', npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@npmcli/fs@3.1.0', npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'fs-minipass@3.0.3', npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'unique-filename@3.0.0', npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'unique-slug@4.0.0', npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'lru-cache@10.0.1', npm WARN EBADENGINE required: { node: '14 || >=16.14' }, npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } npm WARN EBADENGINE } npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

added 226 packages, and audited 227 packages in 28s

19 packages are looking for funding run npm fund for details

5 vulnerabilities (3 moderate, 2 high)

To address all issues, run: npm audit fix

Run npm audit for details. copy node exectuable run fix-package-name.js /home/stvsl/.cache/yay/wechat-devtools/src/package.nw/package-lock.json文件不存在run fix-cli.sh run fix-other.sh fix: webview manager fix: wcc,wcsc 总计 272 -rw-r--r-- 1 stvsl stvsl 2106 9月30日 12:56 generatemd5.js drwxr-xr-x 2 stvsl stvsl 4096 9月30日 12:56 nodejs drwxr-xr-x 147 stvsl stvsl 4096 9月30日 13:01 node_modules drwxr-xr-x 4 stvsl stvsl 4096 9月30日 12:56 old -rw-r--r-- 1 stvsl stvsl 607 9月30日 12:56 package.json -rw-r--r-- 1 stvsl stvsl 242968 9月30日 13:01 package-lock.json -rw-r--r-- 1 stvsl stvsl 1223 9月30日 12:56 README.md drwxr-xr-x 4 stvsl stvsl 4096 9月30日 12:56 wcc_node drwxr-xr-x 2 stvsl stvsl 4096 9月30日 12:56 wine run fix-menu.sh run fix-core.sh Fix Core totalCount 1843 云开发控制台启动点: /home/stvsl/.cache/yay/wechat-devtools/src/tmp/core/core.wxvpkg/284af385b4ef6206861fea66a2452277.js WebSocket token存储对象位置: /home/stvsl/.cache/yay/wechat-devtools/src/tmp/core/core.wxvpkg/d15bfd6a2234129f5ea1f808e801b055.js fix terminal
Terminal启动位置: /home/stvsl/.cache/yay/wechat-devtools/src/tmp/core/core.wxvpkg/8b1beaf0e87818306b0f8c3510629ae9.js wcc: /home/stvsl/.cache/yay/wechat-devtools/src/tmp/core/core.wxvpkg/b3576fd22b50987906da218d3aa0a7cd.js env: /home/stvsl/.cache/yay/wechat-devtools/src/tmp/core/core.wxvpkg/37afa82859c8c2ff0f4fc82f8e4ef83a.js /home/stvsl/.cache/yay/wechat-devtools/src/tmp/core/core.wxvpkg/5599c40fc3e706fdfdf41f1b3082b524.js fix theme
theme: /home/stvsl/.cache/yay/wechat-devtools/src/tmp/core/core.wxvpkg/c729e63337ab0f2ce90297a1b8925f95.js fix update check
pack
/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/core.wxvpkg run rebuild-node-modules.sh ######## 版本信息 2023-10-01 17:18:37 ######## NW VERSION: 0.55.0 nw-gyp version: v3.6.6 node version: v16.4.2 npm version: 7.18.1 Python 2.7.18 Python 3.11.5 --2023-10-01 17:18:37-- https://github.com/microsoft/ripgrep-prebuilt/releases/download/v12.1.1-1/ripgrep-v12.1.1-1-x86_64-unknown-linux-musl.tar.gz 已载入 CA 证书“/etc/ssl/certs/ca-certificates.crt” 正在解析主机 github.com (github.com)... 198.18.0.31 正在连接 github.com (github.com)|198.18.0.31|:443... 已连接。已发出 HTTP 请求,正在等待回应... 302 Found 位置:https://objects.githubusercontent.com/github-production-release-asset-2e65be/194786020/4db45a00-1ab5-11eb-8f70-04dc0aa3d480?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231001T091838Z&X-Amz-Expires=300&X-Amz-Signature=d29cb5b7510a27807d1186cc35e9d23a7d17e73a5e975c4e0a9fe2c755a658bb&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=194786020&response-content-disposition=attachment%3B%20filename%3Dripgrep-v12.1.1-1-x86_64-unknown-linux-musl.tar.gz&response-content-type=application%2Foctet-stream [跟随至新的 URL] --2023-10-01 17:18:38-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/194786020/4db45a00-1ab5-11eb-8f70-04dc0aa3d480?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231001T091838Z&X-Amz-Expires=300&X-Amz-Signature=d29cb5b7510a27807d1186cc35e9d23a7d17e73a5e975c4e0a9fe2c755a658bb&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=194786020&response-content-disposition=attachment%3B%20filename%3Dripgrep-v12.1.1-1-x86_64-unknown-linux-musl.tar.gz&response-content-type=application%2Foctet-stream 正在解析主机 objects.githubusercontent.com (objects.githubusercontent.com)... 198.18.0.32 正在连接 objects.githubusercontent.com (objects.githubusercontent.com)|198.18.0.32|:443... 已连接。已发出 HTTP 请求,正在等待回应... 200 OK 长度:2142947 (2.0M) [application/octet-stream] 正在保存至: “/home/stvsl/.cache/yay/wechat-devtools/src/cache/ripgrep-v12.1.1-1-x86_64-unknown-linux-musl.tar.gz.tmp”

/home/stvsl/.cache/yay/wechat-devtoo 100%[====================================================================>] 2.04M 423KB/s 用时 5.1s

2023-10-01 17:18:44 (412 KB/s) - 已保存 “/home/stvsl/.cache/yay/wechat-devtools/src/cache/ripgrep-v12.1.1-1-x86_64-unknown-linux-musl.tar.gz.tmp” [2142947/2142947])

rg install modules
npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm WARN deprecated spdlog@0.11.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm ERR! code 1 npm ERR! path /home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit npm ERR! command failed npm ERR! command sh -c node lifecycleScripts/preinstall && node lifecycleScripts/install npm ERR! [nodegit] Running pre-install script npm ERR! [nodegit] Running install script npm ERR! Failed to execute '/home/stvsl/.cache/yay/wechat-devtools/src/node/bin/node /home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1) npm ERR! node-pre-gyp npm ERR! npm ERR! info npm ERR! npm ERR! it worked if it ends with npm ERR! ok npm ERR! node-pre-gyp npm ERR! npm ERR! info npm ERR! npm ERR! using npm ERR! node-pre-gyp@0.13.0 npm ERR! node-pre-gyp npm ERR! npm ERR! info npm ERR! npm ERR! using npm ERR! node@16.4.2 | linux | x64 npm ERR! node-pre-gyp npm ERR! npm ERR! WARN npm ERR! npm ERR! Using request for node-pre-gyp https download npm ERR! npm ERR! node-pre-gyp npm ERR! npm ERR! info npm ERR! npm ERR! check npm ERR! checked for "/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release/nodegit.node" (not found) npm ERR! node-pre-gyp npm ERR! npm ERR! http npm ERR! npm ERR! GET npm ERR! https://npmmirror.com/mirrors/nodegit/v0.27.0/nodegit-v0.27.0-node-v93-linux-x64.tar.gz npm ERR! node-pre-gyp npm ERR! WARN Pre-built binaries not installable for nodegit@0.27.0 and node@16.4.2 (node-v93 ABI, glibc) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp WARN npm ERR! Hit error read ECONNRESET npm ERR! gyp npm ERR! info npm ERR! it worked if it ends with ok npm ERR! gyp info using npm ERR! node-gyp@7.1.2 npm ERR! gyp info using node@16.4.2 | linux | x64 npm ERR! gyp info ok npm ERR! npm ERR! gyp npm ERR! info npm ERR! it worked if it ends with ok npm ERR! gyp info npm ERR! using node-gyp@7.1.2 npm ERR! gyp info using node@16.4.2 | linux | x64 npm ERR! gyp npm ERR! info find Python using Python version 3.11.5 found at "/usr/bin/python3" npm ERR! (node:32550) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. npm ERR! (Use node --trace-deprecation ... to show where the warning was created) npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info npm ERR! spawn args [ npm ERR! gyp info spawn args '/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp npm ERR! info spawn args 'binding.gyp', npm ERR! gyp info spawn args npm ERR! '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp npm ERR! info spawn args '-I', npm ERR! gyp info spawn args npm ERR! '/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info npm ERR! spawn args '/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp npm ERR! info spawn args '/home/stvsl/.cache/node-gyp/16.4.2/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info npm ERR! spawn args '-Dnode_root_dir=/home/stvsl/.cache/node-gyp/16.4.2', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp npm ERR! info spawn args '-Dnode_lib_file=/home/stvsl/.cache/node-gyp/16.4.2/<(target_arch)/node.lib', npm ERR! gyp info spawn args npm ERR! '-Dmodule_root_dir=/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp npm ERR! info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args npm ERR! 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp npm ERR! info spawn args ] npm ERR! Traceback (most recent call last): npm ERR! File "/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module> npm ERR! sys.exit(gyp.script_main()) npm ERR! ^^^^^^^^^^^^^^^^^ npm ERR! File "/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 670, in script_main npm ERR! return main(sys.argv[1:]) npm ERR! ^^^^^^^^^^^^^^^^^^ npm ERR! File "/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 662, in main npm ERR! return gyp_main(args) npm ERR! ^^^^^^^^^^^^^^ npm ERR! File "/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 629, in gyp_main npm ERR! [generator, flat_list, targets, data] = Load( npm ERR! ^^^^^ npm ERR! File "/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 150, in Load npm ERR! result = gyp.input.Load( npm ERR! ^^^^^^^^^^^^^^^ npm ERR! File "/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load npm ERR! LoadTargetBuildFile( npm ERR! File "/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile npm ERR! build_file_data = LoadOneBuildFile( npm ERR! ^^^^^^^^^^^^^^^^^ npm ERR! File "/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile npm ERR! build_file_contents = open(build_file_path, "rU").read() npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^ npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp npm ERR! gyp npm ERR! ERR! configure error npm ERR! gyp npm ERR! ERR! stack npm ERR! Error: gyp failed with exit code: 1 npm ERR! gyp npm ERR! ERR! stack npm ERR! at ChildProcess.onCpExit (/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) npm ERR! gyp npm ERR! ERR! stack at ChildProcess.emit (node:events:394:28) npm ERR! gyp ERR! npm ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) npm ERR! gyp ERR! npm ERR! System Linux 6.5.5-zen1-1-zen npm ERR! gyp ERR! npm ERR! command "/home/stvsl/.cache/yay/wechat-devtools/src/node/bin/node" "/home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release/nodegit.node" "--module_name=nodegit" "--module_path=/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93" npm ERR! gyp npm ERR! ERR! cwd npm ERR! /home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit npm ERR! gyp ERR! npm ERR! node -v v16.4.2 npm ERR! gyp npm ERR! ERR! node-gyp -v npm ERR! v7.1.2 npm ERR! gyp ERR! npm ERR! not ok npm ERR! node-pre-gyp npm ERR! ERR! build error npm ERR! node-pre-gyp npm ERR! ERR! stack Error: Failed to execute '/home/stvsl/.cache/yay/wechat-devtools/src/node/bin/node /home/stvsl/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1) npm ERR! node-pre-gyp npm ERR! ERR! stack at ChildProcess.<anonymous> (/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/node-pre-gyp/lib/util/compile.js:83:29) npm ERR! node-pre-gyp ERR! npm ERR! stack at ChildProcess.emit (node:events:394:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16) npm ERR! node-pre-gyp npm ERR! ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) npm ERR! node-pre-gyp npm ERR! ERR! System Linux 6.5.5-zen1-1-zen npm ERR! node-pre-gyp npm ERR! ERR! command "/home/stvsl/.cache/yay/wechat-devtools/src/node/bin/node" "/home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" npm ERR! node-pre-gyp ERR! npm ERR! cwd /home/stvsl/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit npm ERR! node-pre-gyp ERR! npm ERR! node -v v16.4.2 npm ERR! node-pre-gyp ERR! npm ERR! node-pre-gyp -v v0.13.0 npm ERR! node-pre-gyp ERR! npm ERR! not ok npm ERR! [nodegit] ERROR - Could not finish install npm ERR! [nodegit] ERROR - finished with error code: 1

npm ERR! A complete log of this run can be found in: npm ERR! /home/stvsl/.npm/_logs/2023-10-01T09_21_17_080Z-debug.log ==> 错误: 在 build() 中发生一个错误。 正在放弃... -> 生成时出错: wechat-devtools-exit status 4 -> 无法安装以下软件包, 需要手动介入处理: wechat-devtools - exit status 4 yay 66.33s user 18.66s system 37% cpu 3:47.56 total

imic commented on 2023-10-01 07:50 (UTC)

https://github.com/msojocs/wechat-web-devtools-linux/issues/93 在manjaro下安装报错

正在连接 github.com (github.com)|20.205.243.166|:443... 已连接。已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://objects.githubusercontent.com/github-production-release-asset-2e65be/194786020/4db45a00-1ab5-11eb-8f70-04dc0aa3d480?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231001T073031Z&X-Amz-Expires=300&X-Amz-Signature=2294bd8a7f2e8e99884b5da1f74d2a6357d46cdd66dc7e63d4feb155126077a4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=194786020&response-content-disposition=attachment%3B%20filename%3Dripgrep-v12.1.1-1-x86_64-unknown-linux-musl.tar.gz&response-content-type=application%2Foctet-stream [跟随至新的 URL]
--2023-10-01 15:30:31--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/194786020/4db45a00-1ab5-11eb-8f70-04dc0aa3d480?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231001T073031Z&X-Amz-Expires=300&X-Amz-Signature=2294bd8a7f2e8e99884b5da1f74d2a6357d46cdd66dc7e63d4feb155126077a4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=194786020&response-content-disposition=attachment%3B%20filename%3Dripgrep-v12.1.1-1-x86_64-unknown-linux-musl.tar.gz&response-content-type=application%2Foctet-stream
正在解析主机 objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
正在连接 objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... 已连接。已发出 HTTP 请求,正在等待回应... 200 OK
长度:2142947 (2.0M) [application/octet-stream]
正在保存至: “/home/imic/.cache/yay/wechat-devtools/src/cache/ripgrep-v12.1.1-1-x86_64-unknown-linux-musl.tar.gz.tmp”

/home/imic/.cache/yay/wechat-devtools/ 100%[==========================================================================>]   2.04M  10.5KB/s  用时 4m 22s  

2023-10-01 15:34:56 (7.99 KB/s) - 已保存 “/home/imic/.cache/yay/wechat-devtools/src/cache/ripgrep-v12.1.1-1-x86_64-unknown-linux-musl.tar.gz.tmp” [2142947/2142947])

rg
 install modules  
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated spdlog@0.11.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm ERR! code 1
npm ERR! path /home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit
npm ERR! command failed
npm ERR! command sh -c node lifecycleScripts/preinstall && node lifecycleScripts/install
npm ERR! [nodegit] Running pre-install script
npm ERR! [nodegit] Running install script
npm ERR! Failed to execute '/home/imic/.cache/yay/wechat-devtools/src/node/bin/node /home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp
npm ERR! info it worked if it ends with ok
npm ERR! node-pre-gyp
npm ERR! info using node-pre-gyp@0.13.0
npm ERR! node-pre-gyp info using node@16.4.2 | linux | x64
npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download
npm ERR! 
npm ERR! node-pre-gyp
npm ERR! info check checked for "/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release/nodegit.node" (not found)
npm ERR! node-pre-gyp
npm ERR! http GET https://npmmirror.com/mirrors/nodegit/v0.27.0/nodegit-v0.27.0-node-v93-linux-x64.tar.gz
npm ERR! node-pre-gyp
npm ERR! http 404 https://npmmirror.com/mirrors/nodegit/v0.27.0/nodegit-v0.27.0-node-v93-linux-x64.tar.gz
npm ERR! node-pre-gyp
npm ERR! WARN Tried to download(404): https://npmmirror.com/mirrors/nodegit/v0.27.0/nodegit-v0.27.0-node-v93-linux-x64.tar.gz 
npm ERR! node-pre-gyp WARN Pre-built binaries not found for nodegit@0.27.0 and node@16.4.2 (node-v93 ABI, glibc) (falling back to source compile with node-gyp) 
npm ERR! node-pre-gyp
npm ERR! http 404 status code downloading tarball https://npmmirror.com/mirrors/nodegit/v0.27.0/nodegit-v0.27.0-node-v93-linux-x64.tar.gz
npm ERR! gyp
npm ERR! 
npm ERR! info it worked if it ends with ok
npm ERR! gyp
npm ERR! info using node-gyp@7.1.2
npm ERR! gyp
npm ERR! info using node@16.4.2 | linux | x64
npm ERR! gyp info ok
npm ERR! gyp
npm ERR! info it worked if it ends with ok
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp
npm ERR! info using node@16.4.2 | linux | x64
npm ERR! gyp info find Python using Python version 3.11.5 found at "/usr/bin/python3"
npm ERR! (node:60482) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
npm ERR! gyp
npm ERR! info spawn /usr/bin/python3
npm ERR! gyp
npm ERR! info spawn args [
npm ERR! gyp info spawn args   '/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp
npm ERR! info spawn args   '/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info
npm ERR! spawn args   '/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/imic/.cache/node-gyp/16.4.2/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/imic/.cache/node-gyp/16.4.2',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/imic/.cache/node-gyp/16.4.2/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp
npm ERR! info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info
npm ERR! spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info
npm ERR! spawn args ]
npm ERR! Traceback (most recent call last):
npm ERR!   File "/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
npm ERR! sys.exit(gyp.script_main())
npm ERR!              ^^^^^^^^^^^^^^^^^
npm ERR!   File "/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
npm ERR!     return main(sys.argv[1:])
npm ERR!            ^^^^^^^^^^^^^^^^^^
npm ERR!   File "/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
npm ERR! return gyp_main(args)
npm ERR! ^^^^^^^^^^^^^^
npm ERR!   File "/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
npm ERR! [generator, flat_list, targets, data] = Load(
npm ERR! ^^^^^
npm ERR!   File "/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
npm ERR! result = gyp.input.Load(
npm ERR!              ^^^^^^^^^^^^^^^
npm ERR!   File "/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
npm ERR! LoadTargetBuildFile(
npm ERR!   File "/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
npm ERR! build_file_data = LoadOneBuildFile(
npm ERR! ^^^^^^^^^^^^^^^^^
npm ERR!   File "/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
npm ERR! build_file_contents = open(build_file_path, "rU").read()
npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp
npm ERR! ERR! stack Error: `gyp` failed with exit code: 1
npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:394:28)
npm ERR! gyp ERR! stack
npm ERR! at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp
npm ERR! ERR! System Linux 6.5.3-1-MANJARO
npm ERR! gyp ERR!
npm ERR! command "/home/imic/.cache/yay/wechat-devtools/src/node/bin/node" "/home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release/nodegit.node" "--module_name=nodegit" "--module_path=/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
npm ERR! gyp
npm ERR! ERR! cwd /home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit
npm ERR! gyp ERR! node -v v16.4.2
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp
npm ERR! ERR! build error
npm ERR! node-pre-gyp
npm ERR! ERR! stack Error: Failed to execute '/home/imic/.cache/yay/wechat-devtools/src/node/bin/node /home/imic/.cache/yay/wechat-devtools/src/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp ERR! stack
npm ERR! at ChildProcess.<anonymous> (/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:394:28)
npm ERR! node-pre-gyp
npm ERR! ERR! stack     at maybeClose (node:internal/child_process:1067:16)
npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp
npm ERR! ERR! System Linux 6.5.3-1-MANJARO
npm ERR! node-pre-gyp ERR! command
npm ERR! "/home/imic/.cache/yay/wechat-devtools/src/node/bin/node" "/home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd
npm ERR! /home/imic/.cache/yay/wechat-devtools/src/package.nw/node_modules_tmp/node_modules/nodegit
npm ERR! node-pre-gyp ERR! node -v v16.4.2
npm ERR! node-pre-gyp ERR!
npm ERR! node-pre-gyp -v v0.13.0
npm ERR! node-pre-gyp ERR! not ok
npm ERR! 
npm ERR! [nodegit] ERROR - Could not finish install
npm ERR! [nodegit] ERROR - finished with error code: 1

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/imic/.npm/_logs/2023-10-01T07_35_04_733Z-debug.log
==> 错误: 在 build() 中发生一个错误。    正在放弃...
 -> 生成时出错: wechat-devtools-exit status 4
 -> 无法安装以下软件包, 需要手动介入处理:
wechat-devtools - exit status 4

imic commented on 2023-03-20 01:46 (UTC) (edited on 2023-03-20 01:51 (UTC) by imic)

1.06.22209070 安装后,启动时会弹出3个报错对话框:

Couldn't start client Skyline Style Server
wechat-miniprogram-development(扩展)


A request has failed. See the output for
more information.
wechat-miniprogram-development(扩展)


Request initialize failed with message:
/homelimicl.config/wechat-
devtools/WeNativeModules/use/node-float-
pigment-css/float-pigment-css-for-nodejs.node:
invalid ELF header
wechat-miniprogram-development(扩展)

imic commented on 2022-07-04 03:47 (UTC)

[imic applications]# cat wechat-devtools.desktop | grep Icon Icon=/home/imic/data/app/icons/wechat-devtools.webp

应该是默认的Icon=wechat-devtools 图标失效了。 不知道具体的位置,我换成了从网上下载的一个图标。现在可以了。

msojocs commented on 2022-07-01 04:24 (UTC)

@imic 图标默认与微信不一样 我有副屏,我这边使用正常

imic commented on 2022-07-01 02:34 (UTC)

安装后图标和微信的一样,这个能默认给个不一样的图标吗? 另外有副屏的时候,很难把开发工具拖拽到副屏

msojocs commented on 2022-06-13 14:30 (UTC)

@ystyle 你可以尝试关闭“多核心编译”,如果是开着的话。