GithubHelp home page GithubHelp logo

Comments (5)

SomeoneWeird avatar SomeoneWeird commented on August 26, 2024

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.

ballballsun avatar ballballsun commented on August 26, 2024

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.

dweinstein avatar dweinstein commented on August 26, 2024

try using $ npm install --save frida@latest then $ npm install in your directory again.

from frida-node.

ballballsun avatar ballballsun commented on August 26, 2024

Ok thx! work now :)

from frida-node.

illnino avatar illnino commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.