Comments (18)
The frida
npm module failed to be installed. Have you tried Node.js Long Time Support version (currently 10.15.3)?
from passionfruit.
@sidh104 I'll try to upgrade the frida dependency to the latest to resolve this
from passionfruit.
@vincentcox No prebuilt binaries found is the reason. Downgrade to node.js LTS (currently 10.16.0) and retry
from passionfruit.
Thanks that solved it! In the end I had to use "sudo su" and "npm install -g passionfruit --unsafe-perm" to get it install.
from passionfruit.
The
frida
npm module failed to be installed. Have you tried Node.js Long Time Support version (currently 10.15.3)?
i have the same problem and downgraded to 10.15 - still having the same problem.
:/usr/lib# npm install -g passionfruit --unsafe-perm
/usr/bin/passionfruit -> /usr/lib/node_modules/passionfruit/bin/cli.js
> [email protected] install /usr/lib/node_modules/passionfruit/node_modules/frida
> prebuild-install || node-gyp rebuild
prebuild-install WARN install No prebuilt binaries found (target=10.15.3 runtime=node arch=arm libc= platform=linux)
gyp: binding.gyp not found (cwd: /usr/lib/node_modules/passionfruit/node_modules/frida) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.19.42-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/passionfruit/node_modules/frida
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/passionfruit/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-05-16T11_38_07_723Z-debug.log
from passionfruit.
@mr-gosh Can you post that 2019-05-16T11_38_07_723Z-debug.log
here? Thanks
from passionfruit.
2019-05-16T11_38_07_723Z-debug.log
from passionfruit.
@mr-gosh Can you post that
2019-05-16T11_38_07_723Z-debug.log
here? Thanks
@ChiChou - did you have time to look into it?
from passionfruit.
It seems the problem is that npm fails to skip the optional dependency fsevents
and this problem only occurs on Windows and Linux. I am currently on a business trip have no test machine to check.
from passionfruit.
Node.js Long Time Support version (currently 10.15.3) this worked for me with the installation part. Thanks alot @ChiChou
from passionfruit.
It's definitely npm's bug:
npm/npm#14042
People that also suffering from the exact bug:
https://stackoverflow.com/questions/48898312/npm-error-unsupported-platform-for-fsevents-when-deploying-to-azure
angular/angular#13935
These articles have suggested some solution:
npm install --no-optional
to skip optional dependencies- Upgrade npm to the latest. But it seems @mr-gosh is already on the newest
npm install -f
to force continue installation
I don't have access to a Windows machine to check yet.
from passionfruit.
@ChiChou Error: Unable to communicate with remote frida-server; please ensure that major versions match and that the remote Frida has the feature you are trying to use
Version In use:
Frida version in use: 12.5.6
iOS version:11.2
from passionfruit.
i now tried to let him install this by using
npm install -g passionfruit --unsafe-perm --no-optional -f
he ran trough - but threw a lot of errors.
when i try to start passionfruit it outputs this:
root@passionfruitpi:~# passionfruit
/usr/lib/node_modules/passionfruit/node_modules/bindings/bindings.js:135
throw err;
^
Error: Could not locate the bindings file. Tried:
→ /usr/lib/node_modules/passionfruit/node_modules/frida/build/frida_binding.node
→ /usr/lib/node_modules/passionfruit/node_modules/frida/build/Debug/frida_binding.node
→ /usr/lib/node_modules/passionfruit/node_modules/frida/build/Release/frida_binding.node
→ /usr/lib/node_modules/passionfruit/node_modules/frida/out/Debug/frida_binding.node
→ /usr/lib/node_modules/passionfruit/node_modules/frida/Debug/frida_binding.node
→ /usr/lib/node_modules/passionfruit/node_modules/frida/out/Release/frida_binding.node
→ /usr/lib/node_modules/passionfruit/node_modules/frida/Release/frida_binding.node
→ /usr/lib/node_modules/passionfruit/node_modules/frida/build/default/frida_binding.node
→ /usr/lib/node_modules/passionfruit/node_modules/frida/compiled/12.3.1/linux/arm/frida_binding.node
→ /root/frida_binding.node
at bindings (/usr/lib/node_modules/passionfruit/node_modules/bindings/bindings.js:126:9)
at Object.<anonymous> (/usr/lib/node_modules/passionfruit/node_modules/frida/dist/index.js:17:17)
at Module._compile (internal/modules/cjs/loader.js:774:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:681:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (/usr/lib/node_modules/passionfruit/app.js:7:15)
at Module._compile (internal/modules/cjs/loader.js:774:30) {
tries: [
'/usr/lib/node_modules/passionfruit/node_modules/frida/build/frida_binding.node',
'/usr/lib/node_modules/passionfruit/node_modules/frida/build/Debug/frida_binding.node',
'/usr/lib/node_modules/passionfruit/node_modules/frida/build/Release/frida_binding.node',
'/usr/lib/node_modules/passionfruit/node_modules/frida/out/Debug/frida_binding.node',
'/usr/lib/node_modules/passionfruit/node_modules/frida/Debug/frida_binding.node',
'/usr/lib/node_modules/passionfruit/node_modules/frida/out/Release/frida_binding.node',
'/usr/lib/node_modules/passionfruit/node_modules/frida/Release/frida_binding.node',
'/usr/lib/node_modules/passionfruit/node_modules/frida/build/default/frida_binding.node',
'/usr/lib/node_modules/passionfruit/node_modules/frida/compiled/12.3.1/linux/arm/frida_binding.node',
'/root/frida_binding.node'
]
}
by the way - that i try to install this on a rpi shouldn't be a problem right?
the latest log is attached... - i really don't get it.
2019-05-23T07_30_17_545Z-debug.log
from passionfruit.
@mr-gosh I don't know if frida has prebuilt package for rpi (ARM). You may need to build from source
from passionfruit.
@ChiChou Yes, Thanks alot... Let us know once its upgraded and I will check from my end
from passionfruit.
@ChiChou with the latest update of frida its working now. Thanks alot for your support
from passionfruit.
Unfortunately, I have the same issue on Ubuntu:
npm install -g passionfruit --unsafe-perm /usr/bin/passionfruit -> /usr/lib/node_modules/passionfruit/bin/cli.js > [email protected] install /usr/lib/node_modules/passionfruit/node_modules/frida > prebuild-install || node-gyp rebuild prebuild-install WARN install No prebuilt binaries found (target=11.15.0 runtime=node arch=x64 libc= platform=linux) gyp: binding.gyp not found (cwd: /usr/lib/node_modules/passionfruit/node_modules/frida) while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16) gyp ERR! stack at ChildProcess.emit (events.js:193:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) gyp ERR! System Linux 4.20.0-042000-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/passionfruit/node_modules/frida gyp ERR! node -v v11.15.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/passionfruit/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-06-20T10_21_59_325Z-debug.log root@usbstick:/home/vincent#
from passionfruit.
Thanks @ChiChou and @vincentcox. I upgraded everything ( Frida, NPM, node ).
It worked for me after the following:
bin node -v
v11.x.x
npm install -g n
n 10.16.0
npm install -g passionfruit --unsafe-perm
from passionfruit.
Related Issues (20)
- prebuild-install http 200 https://github.com/frida/frida/releases/download/12.6.18/frida-v12.6.18-node-v64-darwin-x64.tar.gz HOT 1
- Bug in keychain.js HOT 1
- Passionfruit randomly disconnects from apps HOT 2
- Passionfruit app start errorr HOT 2
- InternalServerError when selecting iOS Device HOT 4
- Extract IPA HOT 3
- passionfruit Uncaught RPC Error: invalid size HOT 1
- close, unhandledRejection listener registration errors HOT 1
- Unable to resolve bundle path to bundle ID when used with Frida Gadget HOT 1
- Finding default calls to iOS app
- Document must begin with an element (e.g. <book>) HOT 6
- Passionfruit Docker HOT 7
- Can't install passionfruit on the newest node 14.0.0 HOT 1
- Important Announcement HOT 1
- Error when trying to install passionfruit HOT 1
- error while installing passionfruit HOT 6
- run passionfruit with frida 14.0 HOT 1
- run passionfruit with frida 14.0 HOT 11
- Error while connecting or disconnecting USB after start passionfruit HOT 4
- Encountring some errors while installing on macOS Big Sur 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 passionfruit.