Files
Radon Rosborough 35c4e2c9e6 (chore) add allowScripts to package.json (#819)
Unfortunately, NPM 12 adds a new feature, where it will silently skip
running post-install scripts, without telling you, unless you
explicitly configure it otherwise for every individual dependency.

As a result, if you checkout Objection onto a machine running NPM 12,
and run "npm install" in the agent directory, then it will error out
with:

    Error: Could not locate the bindings file.

Which happens because the npm install runs the prepare script in the
agent package.json, which runs the build script, which invokes
frida-compile, which expects for its frida dependency to have been
actually installed properly.

Unfortunately, the npm install output makes absolutely no mention of
the fact that a post-install script was silently skipped. Even in the
debug logfile that it tells you about in the command output. I don't
know why this is the case. If you npm install frida just by itself,
then it does print a warning explaining the problem, but not if it's a
dependency.
2026-09-17 09:20:15 +02:00
..

objection agent

This directory contains the source code for the agent used within objection. These sources are compiled and shipped with a distribution of objection, and live in /objection/agent.js in its compiled state.

For more information, such as development environment setup instructions, please refer to the project wiki here.