问个问题, 有没办法限制一下,小程序编译进程的占用? 我这边被小程序的编译进程占用了所有的cpu导致系统卡死。
Search Criteria
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.000007 |
First Submitted: | 2017-08-31 05:54 (UTC) |
Last Updated: | 2023-09-30 13:15 (UTC) |
Dependencies (9)
- gconfAUR
- libxkbfile
- gcc (gccrs-gitAUR, gcc11AUR, gcc-gitAUR) (make)
- krb5 (krb5-gitAUR) (make)
- libssh2 (libssh2-gitAUR) (make)
- make (make-gitAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- p7zip (p7zip-natspecAUR, p7zip-full-binAUR, 7-zip-fullAUR) (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
ystyle commented on 2022-06-13 06:58 (UTC)
msojocs commented on 2022-06-08 07:28 (UTC)
@kumax 推荐去 github 提供更为详尽的日志。
Lehmaning commented on 2022-06-07 20:05 (UTC)
@msojocs 确实是不需要,不过我打包编译的时候一直会遇到这个报错:
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 tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code EIO
npm ERR! syscall read
npm ERR! errno -5
npm ERR! EIO: i/o error, read
请问该如何解决?
msojocs commented on 2022-06-04 03:40 (UTC)
@kumax 不需要
msojocs commented on 2022-05-12 09:29 (UTC)
@himan 镜像太少了,都不怎么稳定。不好找现成的。
himan commented on 2022-05-12 07:43 (UTC) (edited on 2022-05-12 07:43 (UTC) by himan)
gh2.yanqishui.work这镜像太慢了。要不然换一个?
msojocs commented on 2022-04-06 14:00 (UTC) (edited on 2022-04-11 05:40 (UTC) by msojocs)
@ystyle 经检测,不是网络问题;
满是由于node-gyp
在进行make nodegit
编译操作时默认是串行进行的,可以通过环境变量开启并行;
下个版本加入。
环境变量:
JOBS=n
例如:
export JOBS=4
4进程并行
查看进程可以发现有4个cc***
进程
msojocs commented on 2022-03-22 15:56 (UTC)
@ystyle 卡久这个问题暂时不知道是编译问题还是网络问题,我抽空抓个包看看什么情况。
ystyle commented on 2022-03-22 09:52 (UTC) (edited on 2022-03-22 10:03 (UTC) by ystyle)
@maoxuner 我的问题是node包是可以用taobao源下载, 但vscode那两个包它是被npm脚本从github下载的. 我这里的网络无法访问github, 只能加代理. (我改了脚本只在这两个包下载时启用代理就构建成功了)
ps 最新版(2022-03-19 15:37)可以不使用代理直接安装了, 就是中间会卡好久.
Pinned Comments