Git Product home page Git Product logo

Comments (6)

ChiChou avatar ChiChou commented on June 17, 2024 2

npm install frida --verbose

等到输出类似如下内容

prebuild-install info looking for cached prebuild @ /Users/用户名/.npm/_prebuilds/93b394-frida-v12.8.10-node-v72-darwin-x64.tar.gz
prebuild-install http request GET https://github.com/frida/frida/releases/download/12.8.10/frida-v12.8.10-node-v72-darwin-x64.tar.gz

挂代理把对应 url 下载到 /Users/用户名/.npm/_prebuilds/....tar.gz

重新 npm install -g bagbak

from bagbak.

azureplus avatar azureplus commented on June 17, 2024

prebuild-install WARN install unexpected end of file
gyp: binding.gyp not found (cwd: /usr/local/lib/node_modules/bagbak/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/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:223:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 19.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/bagbak/node_modules/frida
gyp ERR! node -v v12.15.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || node-gyp rebuild

from bagbak.

shitizen-x avatar shitizen-x commented on June 17, 2024

也遇到这个错误,按方法重试也不行

from bagbak.

shitizen-x avatar shitizen-x commented on June 17, 2024

prebuild-install WARN install unexpected end of file
gyp: binding.gyp not found (cwd: /usr/local/lib/node_modules/bagbak/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/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/bagbak/node_modules/frida
gyp ERR! node -v v12.16.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || node-gyp rebuild

from bagbak.

ChiChou avatar ChiChou commented on June 17, 2024

@shitizen-x prebuild-install WARN install unexpected end of file 就是说你下回来的文件就是坏的

from bagbak.

Cameudis avatar Cameudis commented on June 17, 2024

npm install frida --verbose

等到输出类似如下内容

prebuild-install info looking for cached prebuild @ /Users/用户名/.npm/_prebuilds/93b394-frida-v12.8.10-node-v72-darwin-x64.tar.gz
prebuild-install http request GET https://github.com/frida/frida/releases/download/12.8.10/frida-v12.8.10-node-v72-darwin-x64.tar.gz

挂代理把对应 url 下载到 /Users/用户名/.npm/_prebuilds/....tar.gz

重新 npm install -g bagbak

我也遇到这个错误了,补充一个Linux上的额外注意点 :)
全局装bagbak的时候如果用的是 sudo npm install bagbak -g,那么需要 sudo npm install frida --verbose 来查看真正的prebuild缓存路径,应该是位于 /root/.npm/_prebuilds 之下(而不是 /home/用户名/.npm/_prebuilds/

from bagbak.

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.