Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frida has no prebuilt binaries for Node 20 #119

Closed
zner0L opened this issue Jul 14, 2023 · 3 comments
Closed

frida has no prebuilt binaries for Node 20 #119

zner0L opened this issue Jul 14, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@zner0L
Copy link
Contributor

zner0L commented Jul 14, 2023

For node v20, the install fails because there are no prebuilt binaries for frida.

@zner0L zner0L added the bug Something isn't working label Jul 14, 2023
@zner0L
Copy link
Contributor Author

zner0L commented Jul 14, 2023

There is a related issue in frida/frida-node#87

@baltpeter
Copy link
Member

baltpeter commented Apr 8, 2024

This appears to still be an issue, just go this on Node 20:

❯ yarn
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning "ipa-extract-info > zipjs-browserify > [email protected]" has unmet peer dependency "browserify@>= 2.3".
warning " > @typescript-eslint/[email protected]" has unmet peer dependency "@typescript-eslint/parser@^5.0.0".
[5/5] Building fresh packages...
[1/7] ⠄ frida
[2/7] ⠄ cpu-features
[-/7] ⠄ waiting...
[6/7] ⠄ lmdb
warning Error running install script for optional dependency: "/home/benni/coding/JS/tweasel/appstraction/node_modules/cpu-features: Command failed.
Exit code: 127
Command: node buildcheck.js > buildcheck.gypi && node-gyp rebuild
Arguments: 
Directory: /home/benni/coding/JS/tweasel/appstraction/node_modules/cpu-features
Output:
/bin/sh: 1: node-gyp: not found"
info This module is OPTIONAL, you can safely ignore this error
error /home/benni/coding/JS/tweasel/appstraction/node_modules/frida: Command failed.
Exit code: 127
Command: prebuild-install || node-gyp rebuild
Arguments: 
Directory: /home/benni/coding/JS/tweasel/appstraction/node_modules/frida

For now, we need to pin Node 18 exactly everywhere (instead of >= 18 like currently).

In the long term, the solution appears to once again be to switch to what HTTP Toolkit is doing. :) https://github.com/httptoolkit/frida-js

@baltpeter
Copy link
Member

Closing in favour of #132.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants