提供的log似乎存在问题,脚本在并无“设置代理”字样、为“警告: 你设置了代理,这有可能导致安装出现异常”。 若为后者提示请进一步检查代理设置。 @ystyle
Search Criteria
Package Details: wechat-devtools 2:1.06.2308310-1
Package Actions
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: | None |
Last Packager: | gfwgfw |
Votes: | 22 |
Popularity: | 0.005706 |
First Submitted: | 2017-08-31 05:54 (UTC) |
Last Updated: | 2023-09-30 13:15 (UTC) |
Dependencies (9)
- gconfAUR
- libxkbfile
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc11AUR, gcc-snapshotAUR) (make)
- krb5 (krb5-gitAUR) (make)
- libssh2 (libssh2-gitAUR) (make)
- make (make-gitAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- p7zipAUR (p7zip-natspecAUR, p7zip-full-binAUR, 7-zip-fullAUR, 7zip) (make)
- python2AUR (python2-binAUR) (make)
Required by (0)
Sources (16)
- compiler-v1.06.2308310-1.tar.gz
- fix-cli.sh
- fix-core.sh
- fix-menu.sh
- fix-other.sh
- fix-package-name.js
- logo.svg
- node-v16.4.2.tar.gz
- nwjs-v0.55.0.tar.gz
- rebuild-node-modules.sh
- wechat-devtools
- wechat-devtools-cli
- wechat-devtools.desktop
- wechat_devtools_1.06.2308310_x64.exe
- wxvpkg_pack.js
- wxvpkg_unpack.js
msojocs commented on 2022-02-13 16:01 (UTC) (edited on 2022-02-13 16:10 (UTC) by msojocs)
ystyle commented on 2022-02-10 09:04 (UTC) (edited on 2022-02-10 09:39 (UTC) by ystyle)
现在这个是能安装的么?我每次在下载vscode时失败。 用不用代理都无法下载成功
######## 版本信息 2022-02-10 17:32:42 ########
NW VERSION: 0.53.1
nw-gyp version: v3.6.5
node version: v16.1.0
npm version: 8.4.1
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
added 212 packages, removed 28 packages, and changed 5 packages in 4m
设置代理
npm WARN deprecated vscode-ripgrep@1.13.2: This package has been renamed to @vscode/ripgrep, please update to the new name
npm ERR! code 1
npm ERR! path /home/ystyle/.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep
npm ERR! command failed
npm ERR! command sh -c node ./lib/postinstall.js
npm ERR! Finding release for v13.0.0-4
npm ERR! GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v13.0.0-4
npm ERR! Deleting invalid download cache
npm ERR! Downloading ripgrep failed: TypeError [ERR_INVALID_PROTOCOL]: Protocol "https:" not supported. Expected "http:"
npm ERR! at new NodeError (node:internal/errors:363:5)
npm ERR! at new ClientRequest (node:_http_client:158:11)
npm ERR! at request (node:https:317:10)
npm ERR! at Object.get (node:https:321:15)
npm ERR! at /home/ystyle/.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/download.js:141:15
npm ERR! at new Promise (<anonymous>)
npm ERR! at get (/home/ystyle/.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/download.js:135:12)
npm ERR! at getAssetFromGithubApi (/home/ystyle/.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/download.js:190:27)
npm ERR! at async module.exports (/home/ystyle/.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/download.js:298:9)
npm ERR! at async main (/home/ystyle/.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/postinstall.js:83:9)
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ystyle/.npm/_logs/2022-02-10T09_36_52_619Z-debug-0.log
==> 错误: 在 build() 中发生一个错误。
正在放弃...
imic commented on 2022-02-07 08:15 (UTC)
make: 进入目录“/var/tmp/pamac-build-imic/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/native-watchdog/build” CXX(target) Release/obj.target/watchdog/src/watchdog.o SOLINK_MODULE(target) Release/obj.target/watchdog.node COPY Release/watchdog.node make: 离开目录“/var/tmp/pamac-build-imic/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/native-watchdog/build” gyp info ok cp: 无法获取'/var/tmp/pamac-build-imic/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/bin/rg' 的文件状态(stat): 没有那个文件或目录 ==> 错误: 在 build() 中发生一个错误。 正在放弃...
msojocs commented on 2022-02-05 02:15 (UTC)
@maoxuner 已处理
maoxuner commented on 2022-02-04 18:16 (UTC) (edited on 2022-02-05 04:26 (UTC) by maoxuner)
有几个bug
- 文件权限,fix-cloudconsole.sh没有可执行权限
run fix-cli.sh
run fix-menu.sh
run fix-cloudconsole.sh
/home/ /.cache/yay/wechat-devtools/PKGBUILD: line 85: /home/ /.cache/yay/wechat-devtools/src/fix-cloudconsole.sh: Permission denied
==> ERROR: A failure occurred in build().
Aborting...
$ ll fix-cloudconsole.sh
-rw-r--r-- 1 - - 1.3K Feb 5 01:16 fix-cloudconsole.sh
- compiler资源不存在
make: Entering directory '/home/ /.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/native-watchdog/build'
CXX(target) Release/obj.target/watchdog/src/watchdog.o
SOLINK_MODULE(target) Release/obj.target/watchdog.node
COPY Release/watchdog.node
make: Leaving directory '/home/ /.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/native-watchdog/build'
gyp info ok
cp: cannot stat '/home/ /.cache/yay/wechat-devtools/src/compiler/wcc_node/*': No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
另外还有个问题,我系统里安装了nodejs-lts-gallium
,但是每次打包之前都要手动nvm use v16.1.0
,不然node版本就不正确。
==> Removing existing $pkgdir/ directory...
==> Starting build()...
prepare node v16.1.0
==> ERROR: A failure occurred in build().
Aborting...
辛苦了,第一次遇到一个包有这么多修正版。
msojocs commented on 2022-01-31 14:53 (UTC)
Protocol "https:" not supported. Expected "http:"
问题在此处,涉及npm版本,我会尝试加强版本处理。 @maoxuner
maoxuner commented on 2022-01-31 14:01 (UTC) (edited on 2022-01-31 14:13 (UTC) by maoxuner)
安装时出错,似乎把相关的包名更新一下就可以了
npm WARN deprecated vscode-ripgrep@1.13.2: This package has been renamed to @vscode/ripgrep, please update to the new name
原始错误信息:
run rebuild-modules.sh
npm WARN deprecated vscode-ripgrep@1.13.2: This package has been renamed to @vscode/ripgrep, please update to the new name
npm ERR! code 1
npm ERR! path /home/ /.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep
npm ERR! command failed
npm ERR! command sh -c node ./lib/postinstall.js
npm ERR! Finding release for v13.0.0-4
npm ERR! GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v13.0.0-4
npm ERR! Deleting invalid download cache
npm ERR! Downloading ripgrep failed: TypeError [ERR_INVALID_PROTOCOL]: Protocol "https:" not supported. Expected "http:"
npm ERR! at new NodeError (node:internal/errors:363:5)
npm ERR! at new ClientRequest (node:_http_client:158:11)
npm ERR! at request (node:https:317:10)
npm ERR! at Object.get (node:https:321:15)
npm ERR! at /home/ /.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/download.js:141:15
npm ERR! at new Promise (<anonymous>)
npm ERR! at get (/home/ /.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/download.js:135:12)
npm ERR! at getAssetFromGithubApi (/home/ /.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/download.js:190:27)
npm ERR! at async module.exports (/home/ /.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/download.js:298:9)
npm ERR! at async main (/home/ /.cache/yay/wechat-devtools/src/wechat_devtools/code/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/postinstall.js:83:9)
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ /.npm/_logs/2022-01-31T13_53_07_587Z-debug.log
==> ERROR: A failure occurred in build().
Aborting...
zhea55 commented on 2022-01-10 09:41 (UTC)
有没有人安装了1.05的,怎么升级版本,教一教。
我用这个老版本,界面是能显示出来,部分交互逻辑js报错,逻辑走不下去了。
imic commented on 2021-09-13 02:44 (UTC)
@ccat3z 现在有最新稳定版1.05 了,什么时候打个包呢. 现在的1.03版本复制的时候有时候不生效,复制错误.
Pinned Comments