Package Details: requestly-git 25.4.13.r1.ge1d923d-1

Git Clone URL: https://aur.archlinux.org/requestly-git.git (read-only, click to copy)
Package Base: requestly-git
Description: Debug your network request across all platforms and browsers using a single app.(Use syetem-wide electron)
Upstream URL: https://requestly.io/
Keywords: android api-client api-rest charles-proxy chrome-extension debugging desktop-app edge-extension fiddler firefox-extension ios mock-server mockapi open-source postman react safari-extension typescript webdevelopment
Licenses: AGPL-3.0-only
Conflicts: requestly
Provides: requestly
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 1
Popularity: 0.89
First Submitted: 2023-11-28 04:31 (UTC)
Last Updated: 2025-04-16 07:02 (UTC)

Dependencies (10)

Required by (0)

Sources (3)

Latest Comments

zxp19821005 commented on 2025-04-16 21:59 (UTC)

@xuiqzy I've tried to build for several times, but I havn't met the problem. I think you should delete the whole directory and try again.

xuiqzy commented on 2025-04-16 15:36 (UTC) (edited on 2025-04-16 15:38 (UTC) by xuiqzy)

@zxp19821005 Thanks a lot for the quick fix for the makedepends! The same error in build() as in the last comment is still happening in chroot and outside. Content of the ...debug-0.log mentioned in the build error output in the chroot (the same as outside, except for paths):

0 verbose cli /usr/bin/node /usr/bin/npm
1 info using npm@11.3.0
2 info using node@v23.9.0
3 silly config load:file:/usr/lib/node_modules/npm/npmrc
4 silly config load:file:/build/requestly-git/src/requestly.git/.npmrc
5 silly config load:file:/build/.npmrc
6 silly config load:file:/etc/npmrc
7 verbose title npm run build
8 verbose argv "run" "build"
9 verbose logfile logs-max:10 dir:/build/requestly-git/src/.npm_cache/_logs/2025-04-16T15_32_56_063Z-
10 verbose logfile /build/requestly-git/src/.npm_cache/_logs/2025-04-16T15_32_56_063Z-debug-0.log
11 silly logfile done cleaning log files
12 verbose stack Error: Invalid property "node"
12 verbose stack     at checkDevEngines (/usr/lib/node_modules/npm/node_modules/npm-install-checks/lib/dev-engines.js:100:13)
12 verbose stack     at RunScript.checkDevEngines (/usr/lib/node_modules/npm/lib/base-cmd.js:152:22)
12 verbose stack     at async #exec (/usr/lib/node_modules/npm/lib/npm.js:252:7)
12 verbose stack     at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:208:9)
12 verbose stack     at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:67:5)
13 error Invalid property "node"
14 verbose cwd /build/requestly-git/src/requestly.git
15 verbose os Linux 6.14.1-zen1-1-zen
16 verbose node v23.9.0
17 verbose npm  v11.3.0
18 verbose exit 1
19 verbose code 1
20 error A complete log of this run can be found in: /build/requestly-git/src/.npm_cache/_logs/2025-04-16T15_32_56_063Z-debug-0.log

Might be an upstream problem, of course, considering they also don't provide current Linux builds.

zxp19821005 commented on 2025-04-16 07:02 (UTC)

@xuiqzy Thanks for your feedback, fixed it.

xuiqzy commented on 2025-04-15 23:24 (UTC)

python-setuptools is missing as build dependency in order to provide the needed distutils for the build. You can test other missing build dependencies by building in a chroot, e.g. with paru -S requestly-git --chroot (it will do all the setup for you).

After python-setuptools is added to the build deps, the prepare() succeeds, but it then fails in build() (normal and in chroot, same error) with:

==> Starting build()...
npm error Invalid property "node"
npm error A complete log of this run can be found in: /build/requestly-git/src/.npm_cache/_logs/2025-04-15T23_19_31_239Z-debug-0.log
==> ERROR: A failure occurred in build().

Error without python-setuptools installed (fails in prepare()):

npm error gyp info spawn /usr/bin/python3
npm error gyp info spawn args [
npm error gyp info spawn args   '/build/requestly-git/src/requestly.git/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args   'binding.gyp',
npm error gyp info spawn args   '-f',
npm error gyp info spawn args   'make',
npm error gyp info spawn args   '-I',
npm error gyp info spawn args   '/build/requestly-git/src/requestly.git/release/app/node_modules/registry-js/build/config.gypi',
npm error gyp info spawn args   '-I',
npm error gyp info spawn args   '/build/requestly-git/src/requestly.git/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args   '-I',
npm error gyp info spawn args   '/build/requestly-git/src/.electron-gyp/.electron-gyp/27.3.11/include/node/common.gypi',
npm error gyp info spawn args   '-Dlibrary=shared_library',
npm error gyp info spawn args   '-Dvisibility=default',
npm error gyp info spawn args   '-Dnode_root_dir=/build/requestly-git/src/.electron-gyp/.electron-gyp/27.3.11',
npm error gyp info spawn args   '-Dnode_gyp_dir=/build/requestly-git/src/requestly.git/node_modules/node-gyp',
npm error gyp info spawn args   '-Dnode_lib_file=/build/requestly-git/src/.electron-gyp/.electron-gyp/27.3.11/<(target_arch)/node.lib',
npm error gyp info spawn args   '-Dmodule_root_dir=/build/requestly-git/src/requestly.git/release/app/node_modules/registry-js',
npm error gyp info spawn args   '-Dnode_engine=v8',
npm error gyp info spawn args   '--depth=.',
npm error gyp info spawn args   '--no-parallel',
npm error gyp info spawn args   '--generator-output',
npm error gyp info spawn args   'build',
npm error gyp info spawn args   '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error Traceback (most recent call last):
npm error   File "/build/requestly-git/src/requestly.git/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
npm error     import gyp  # noqa: E402
npm error     ^^^^^^^^^^
npm error   File "/build/requestly-git/src/requestly.git/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
npm error     import gyp.input
npm error   File "/build/requestly-git/src/requestly.git/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
npm error     from distutils.version import StrictVersion
npm error ModuleNotFoundError: No module named 'distutils'
npm error gyp ERR! configure error 
npm error gyp ERR! stack Error: `gyp` failed with exit code: 1
npm error gyp ERR! stack     at ChildProcess.onCpExit (/build/requestly-git/src/requestly.git/node_modules/node-gyp/lib/configure.js:325:16)
npm error gyp ERR! stack     at ChildProcess.emit (node:events:524:28)
npm error gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm error gyp ERR! System Linux 6.14.1-zen1-1-zen
npm error gyp ERR! command "/build/requestly-git/src/.nvm/versions/node/v20.19.0/bin/node" "/build/requestly-git/src/requestly.git/node_modules/.bin/node-gyp" "rebuild"
npm error gyp ERR! cwd /build/requestly-git/src/requestly.git/release/app/node_modules/registry-js
npm error gyp ERR! node -v v20.19.0
npm error gyp ERR! node-gyp -v v9.3.1
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: /build/requestly-git/src/.npm_cache/_logs/2025-04-15T22_54_50_388Z-debug-0.log
    at ChildProcess.<anonymous> (/build/requestly-git/src/requestly.git/node_modules/builder-util/src/util.ts:252:14)
    at Object.onceWrapper (node:events:639:26)
    at ChildProcess.emit (node:events:524:28)
    at maybeClose (node:internal/child_process:1104:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
npm error code 1
npm error path /build/requestly-git/src/requestly.git
npm error command failed
npm error command sh -c ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.dev.dll.ts
npm error A complete log of this run can be found in: /build/requestly-git/src/.npm_cache/_logs/2025-04-15T22_54_20_821Z-debug-0.log