Comments (5)
Is there a reason you're installing from source? You should just be able to download a pre-compiled version of the addon using npm install frida
from frida-node.
Thx for reply. Because I am not familiar with node.js, and the command line very much. I just follow the instruction from frida-node, https://github.com/frida/frida-node, at the bottom.
No idea on the difference of npm install
and npm install frida
. But I will try it on the coming Monday. Thx :)
from frida-node.
try using $ npm install --save frida@latest
then $ npm install
in your directory again.
from frida-node.
Ok thx! work now :)
from frida-node.
Hi, there
I tried to install via npm install frida
, but I got the same error. May you please check?
OS: Mac: 10.11.6
prebuild info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
In file included from ../src/addon.cc:1:
In file included from ../src/application.h:4:
In file included from ../src/glib_object.h:4:
In file included from ../src/runtime.h:4:
../src/glib_context.h:4:10: fatal error: 'frida-core.h' file not found
#include <frida-core.h>
^
1 error generated.
make: *** [Release/obj.target/frida_binding/src/addon.o] Error 1
prebuild ERR! build error
prebuild ERR! stack Error: `make` failed with exit code: 2
prebuild ERR! stack at ChildProcess.onExit (/Users/its/Project/tools/frida/node_modules/frida/node_modules/prebuild/node_modules/node-gyp/lib/build.js:276:23)
prebuild ERR! stack at emitTwo (events.js:87:13)
prebuild ERR! stack at ChildProcess.emit (events.js:172:7)
prebuild ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
prebuild ERR! not ok
prebuild ERR! build Error: `make` failed with exit code: 2
prebuild ERR! build at ChildProcess.onExit (/Users/its/Project/tools/frida/node_modules/frida/node_modules/prebuild/node_modules/node-gyp/lib/build.js:276:23)
prebuild ERR! build at emitTwo (events.js:87:13)
prebuild ERR! build at ChildProcess.emit (events.js:172:7)
prebuild ERR! build at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
npm verb unsafe-perm in lifecycle true
npm info [email protected] Failed to exec install script
npm verb unlock done using /Users/its/.npm/_locks/frida-a7db794772f089b4.lock for /Users/its/Project/tools/frida/node_modules/frida
npm verb stack Error: [email protected] install: `prebuild --install`
npm verb stack Exit status 2
npm verb stack at EventEmitter.<anonymous> (/Users/its/.nvm/versions/node/v4.5.0/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
npm verb stack at emitTwo (events.js:87:13)
npm verb stack at EventEmitter.emit (events.js:172:7)
npm verb stack at ChildProcess.<anonymous> (/Users/its/.nvm/versions/node/v4.5.0/lib/node_modules/npm/lib/utils/spawn.js:24:14)
npm verb stack at emitTwo (events.js:87:13)
npm verb stack at ChildProcess.emit (events.js:172:7)
npm verb stack at maybeClose (internal/child_process.js:829:16)
npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
npm verb pkgid [email protected]
npm verb cwd /Users/its/Project/tools/frida
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/its/.nvm/versions/node/v4.5.0/bin/node" "/Users/its/.nvm/versions/node/v4.5.0/bin/npm" "install" "frida" "--verbose"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `prebuild --install`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] install script 'prebuild --install'.
npm ERR! This is most likely a problem with the frida package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! prebuild --install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs frida
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls frida
npm ERR! There is likely additional logging output above.
npm verb exit [ 1, true ]
npm verb unbuild node_modules/frida
npm info preuninstall [email protected]
npm info uninstall [email protected]
npm verb unbuild rmStuff [email protected] from /Users/its/Project/tools/frida/node_modules
npm info postuninstall [email protected]
npm verb gentlyRm don't care about contents; nuking /Users/its/Project/tools/frida/node_modules/frida
npm ERR! Please include the following file with any support request:
npm ERR! /Users/its/Project/tools/frida/npm-debug.log
from frida-node.
Related Issues (20)
- 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
- a unknown question
- macOS spawngating - frida-helper crash/not functional with Node bindings
- Frida and pkg
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.