Comments (6)
The issue is that you need to set two config options so the prebuild for Electron is fetched instead of the one for Node.js:
export npm_config_runtime=electron npm_config_target=9.0.0
Remember to wipe node_modules
and re-run npm install
after doing this, and be careful so these environment variables are set whenever you use npm in this context.
from frida-node.
It commonly happens when your local NodeJS version is too high, or if you upgraded nodejs after frida-node install. In most of cases, removing frida-node, clearing npm cache, and reinstalling frida-node solves the issue.
from frida-node.
I've clean my npm cache but it doesn't work better π . I use node v12.16.3, it should work with frida because in an other project I also use this node version with frida but without electron and it works perfectly
from frida-node.
Did you try to remove your node_modules folder and your package-lock.json from your project's root folder and to run 'npm install' ?
from frida-node.
Yes I did
from frida-node.
@alexisab Just released Frida 12.11.12, which comes with prebuilds for Electron v10 and v11, in addition to v9. The next release will drop prebuilds for v9, so would recommend upgrading to Electron v10 (or v11) soon.
from frida-node.
Related Issues (20)
- Electron ζζ»ηζ¬ε―ΉδΈδΈ HOT 2
- Correct way to get args in onLeave? HOT 3
- Block calls to original method conditionally HOT 2
- Automatically reload script on change HOT 1
- TlsSetValue equivalent HOT 1
- What is the function of require('frida-load'); HOT 1
- Rebuilding frida bindings HOT 5
- npm ERR! gyp: binding.gyp not found while trying to load binding.gyp HOT 2
- Attaching script when spawning Android application HOT 1
- Is there a way to get the return address when replacing a function using the Interceptor.
- Question: how to know when spawned process exited? HOT 4
- Requesting linux-musl build
- npm install frida failed HOT 3
- RPC function never resolved in jest HOT 2
- How to start frida tools in node environment without using python
- I hope frida node can publish the api document
- issue building
- After the electric project imports the frida node module, devtools cannot be opened
- node v19.8.1 install Error HOT 5
- mac os error????? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frida-node.