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.000004
First Submitted: 2017-08-31 05:54 (UTC)
Last Updated: 2023-09-30 13:15 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

Ives112 commented on 2022-03-15 05:27 (UTC)

感谢! msojocs 作者提供此版本真的非常好用 希望能持续更新 目前发现两个问题的解决方法

1.npm ERR! GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v13.0.0-4

解决方法: 关闭任何系统代理和终端export http https 代理

2./usr/bin/env: node: No such file or directory 编译wxml和wxss错误

解决方法: 是因为用了nvm找不到node的目录只需要印射一下 (1)which node (2)sudo ln -s /home/ubuntu/.nvm/versions/node/v12.13.1/bin/node (上一步你的目录) /usr/bin/node

再次感谢 msojocs ~

msojocs commented on 2022-02-16 06:19 (UTC)

@maoxuner 感谢,现在不检测了,直接清除代理了。

maoxuner commented on 2022-02-15 16:58 (UTC) (edited on 2022-02-15 16:58 (UTC) by maoxuner)

@ystyle 你这个问题跟我之前遇到的是一样的,主要是网络的问题。可能是设置了代理。检查一下HTTP_PROXYHTTPS_PROXY变量,以及系统代理设置看看。我不使用代理后能正常构建。

@msojocs git上没开issue,就在这里讨论了。提示“设置代理”,其实可能是真有代理设置。rebuild-modules.sh中检测的是小写的环境变量http_proxyhttps_proxy。实际上可能是大写的环境变量生效了。HTTP_PROXYHTTPS_PROXY

ystyle commented on 2022-02-15 09:03 (UTC)

@msojocs 我改了脚本后构建成功了。。。

msojocs commented on 2022-02-13 16:01 (UTC) (edited on 2022-02-13 16:10 (UTC) by msojocs)

提供的log似乎存在问题,脚本在并无“设置代理”字样、为“警告: 你设置了代理,这有可能导致安装出现异常”。 若为后者提示请进一步检查代理设置。 @ystyle

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

  1. 文件权限,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
  1. 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...

辛苦了,第一次遇到一个包有这么多修正版。