Comments (22)
Looks like frida
dependency is broken, could you try npm uninstall -g passionfruit && npm install -g passionfruit
to reinstall again?
from passionfruit.
Hi
I just try reinstall again
but it have same error
from passionfruit.
It's indeed an npm failure. I noticed that you are installing in root, which is not recommended
from passionfruit.
well
I install passionfruit in Desktop
and run passionfruit ,it work
I can listen 31337 port
but it still have some problem
browser go to localhost:31337
screen will have nothing and terminal will show some error
I will show the message later
from passionfruit.
thank
from passionfruit.
OMG I try to rebuild the environment from yesterday
but it still have error in run passionfruit
ian-Mac:Desktop root# passionfruit
/Users/ha/Desktop/passionfruit/node_modules/bindings/bindings.js:96
throw err
^
Error: Could not locate the bindings file. Tried:
→ /Users/ha/Desktop/passionfruit/node_modules/frida/build/frida_binding.node
→ /Users/ha/Desktop/passionfruit/node_modules/frida/build/Debug/frida_binding.node
→ /Users/ha/Desktop/passionfruit/node_modules/frida/build/Release/frida_binding.node
→ /Users/ha/Desktop/passionfruit/node_modules/frida/out/Debug/frida_binding.node
→ /Users/ha/Desktop/passionfruit/node_modules/frida/Debug/frida_binding.node
→ /Users/ha/Desktop/passionfruit/node_modules/frida/out/Release/frida_binding.node
→ /Users/ha/Desktop/passionfruit/node_modules/frida/Release/frida_binding.node
→ /Users/ha/Desktop/passionfruit/node_modules/frida/build/default/frida_binding.node
→ /Users/ha/Desktop/passionfruit/node_modules/frida/compiled/9.3.0/darwin/x64/frida_binding.node
at bindings (/Users/ha/Desktop/passionfruit/node_modules/bindings/bindings.js:93:9)
at Object. (/Users/ha/Desktop/passionfruit/node_modules/frida/lib/frida.js:56:34)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object. (/Users/ha/Desktop/passionfruit/app.js:7:15)
I don`t know how i can pass that yesterday
I think i need some help
from passionfruit.
I mean better not to use root user.
This is a common problem when node version and does not match installed native module.
Looks like you are on a Mac, try reinstall the node.js with brew install node
?
from passionfruit.
The npm rebuild
actually has the same effect when you delete node_modules
and reinstall the dependencies.
If you are from mainland China, sometimes npm install
may failed. Use a reliable proxy will help.
from passionfruit.
I rebuild the error
and these are screen will have nothing
terminal will show some error
listening on http://localhost:31337
<-- GET /
--> GET / 200 8ms 219b
InternalServerError: ENOENT: no such file or directory, stat 'C:\Users\Ian\passionfruit\gui\static\build.js'
at Object.throw (C:\Users\Ian\passionfruit\node_modules\koa\lib\context.js:93:11)
at app.use.use.use (C:\Users\Ian\passionfruit\app.js:78:18)
at
<-- GET /favicon.ico
--> GET /favicon.ico 200 2ms 219b
and I just dont know how I fix the problem so... sorry i didn
t help you
from passionfruit.
Update
I forget npm run build
sorry
from passionfruit.
npm run build
npm ERR! missing script: build
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ian\AppData\Roaming\npm-cache_logs\2018-03-13T08_06_53_276Z-debug.log
and the log file
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: missing script: build
4 verbose stack at run (C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:151:19)
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:61:5
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:115:5
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:402:5
4 verbose stack at handleExists (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:366:20)
4 verbose stack at FSReqWrap.cb [as oncomplete] (fs.js:312:19)
5 verbose cwd C:\Users\Ian\passionfruit
6 verbose Windows_NT 10.0.16299
7 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
8 verbose node v8.10.0
9 verbose npm v5.6.0
10 error missing script: build
11 verbose exit [ 1, true ]
from passionfruit.
npm run build
is deprecated in current version. I had already deleted it from README
from passionfruit.
well I try delete node_modules and npm rebuild
npm install still have error
C:\Users\Ian\passionfruit>npm install
[email protected] prepare C:\Users\Ian\passionfruit
pushd gui && npm install && popd && npm run compile
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
up to date in 6.839s
[email protected] compile C:\Users\Ian\passionfruit
./scripts/compile.js compile
'.' 不是內部或外部命令、可執行的程式或批次檔。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] compile: ./scripts/compile.js compile
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile 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! C:\Users\Ian\AppData\Roaming\npm-cache_logs\2018-03-13T09_43_24_912Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepare: pushd gui && npm install && popd && npm run compile
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepare 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! C:\Users\Ian\AppData\Roaming\npm-cache_logs\2018-03-13T09_43_24_963Z-debug.log
from passionfruit.
This is a bug on compiler for Windows, but not affecting released package.
This package is now available on npm. Do not install from source if you don't want to develop on your own.
I installed in on a VM and it worked:
- Install iTunes to get USB driver
- Install the Long Time Support (currently 8.10.0 LTS) node.js
- run
npm install -g passionfruit
- run
passionfruit
from passionfruit.
Hi
I del the passionfruit dir & reinstall the passionfruit
It work
I met the GDBus.Error But think this is not the install error so I will close the issues
thank you
from passionfruit.
What kind of GDBus.Error
?
from passionfruit.
#17 This
from passionfruit.
This problem has a workaround in the latest development branch, but has not been published yet ([email protected]). Will release the patch soon. Sorry about that.
from passionfruit.
It`s fine.
tell me if I can gave you any help
from passionfruit.
A quick fix is to enter %APPDATA%\npm\node_modules\passionfruit\agent\
, open app.bundle.js
and find line 59, add a null
.
Edit:
var r = new NativeFunction(Module.findExportByName(, "free")
To
var r = new NativeFunction(Module.findExportByName(null, "free")
from passionfruit.
I try it work
thank you
from passionfruit.
finally fixed in v0.2.1
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.