grapefruit icon indicating copy to clipboard operation
grapefruit copied to clipboard

Error installing Grapefruit

Open hongsolo9 opened this issue 1 year ago • 4 comments

Hello @ChiChou

Not sure what to make of this error log. All running fine until line 278

278 verbose stack Error: command failed
278 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
278 verbose stack     at ChildProcess.emit (node:events:519:28)
278 verbose stack     at maybeClose (node:internal/child_process:1105:16)
278 verbose stack     at Socket.<anonymous> (node:internal/child_process:457:11)
278 verbose stack     at Socket.emit (node:events:519:28)
278 verbose stack     at Pipe.<anonymous> (node:net:337:12)
279 verbose pkgid [email protected]
280 verbose cwd /Users/xxx/local/apps/frida/Grapefruit
281 verbose Darwin 21.6.0
282 verbose node v21.4.0
283 verbose npm  v10.2.4
284 error code 1
285 error path /Users/xxx/local/apps/frida/Grapefruit/node_modules/frida
286 error command failed
287 error command sh -c prebuild-install || node-gyp rebuild
288 error prebuild-install warn install No prebuilt binaries found (target=21.4.0 runtime=node arch=x64 libc= platform=darwin)
288 error gyp info it worked if it ends with ok

Any ideas where to start debugging would be helpful.

hongsolo9 avatar Dec 19 '23 12:12 hongsolo9

Hello @hongsolo9

Is it a node project or a python project... As I know 'Grapefruit' is a Python library...

OmkarAnekar avatar Jan 02 '24 07:01 OmkarAnekar

Sorry it's not a problem that could be solved easily. I need to upgrade the frida dependency and publish a new version. However the node echo system just evolve too radically, so the current codebase on vue2 won't build anymore. To completely rewrite everything in vue3 takes too much time, I can't guarantee if that's even possible.

ChiChou avatar Jan 11 '24 18:01 ChiChou

Thanks for getting back, @ChiChou. Will take a deeper look.

hongsolo9 avatar Jan 18 '24 06:01 hongsolo9

~~I'm running into a similar error, both when I attempt to install from npm and when I npm install after cloning the repo. @hongsolo9 , did you find a solution?~~

Apologies for the bump on this thread, my issue ended up being solved by the troubleshooting article linked in the README. I initially thought that it was a separate issue, but upon revisiting realized it was the same.

gbergeson avatar Jun 05 '24 18:06 gbergeson