Giter VIP home page Giter VIP logo

Comments (4)

hyj1991 avatar hyj1991 commented on May 18, 2024

本地编译需要 node header,这是在从 nodejs 官方下载 header。

不过 v8-profiler-next 提供了 v12.x ~ v18.x 的预编译 binary,你可以升级下 node 到这个区间内就不需要走本地编译了。

from v8-profiler-next.

sahalazj-github avatar sahalazj-github commented on May 18, 2024

12可以,14报这个错
image

from v8-profiler-next.

hyj1991 avatar hyj1991 commented on May 18, 2024

@sahalazj-github 你找错地方了,这个包是 gc-stats,他的预编译包放到 aws 上了,你访问不了自然下载不了,v8-profiler-next 是放到 github release page 的。

这种提供预编译的 npm addon 模块思路都一样,你要是公司访问不了,自己从 github release page 拉下来放到私有的静态资源服务器上,然后 --xprofiler_binary_host_mirror=你的私有静态资源服务地址 就能保证安装成功了。

from v8-profiler-next.

sahalazj-github avatar sahalazj-github commented on May 18, 2024

release根本下不下来
https://node-binaries.s3.amazonaws.com/gcstats/v1.4.0/Release/node-v83-linux-x64.tar.gz

@sahalazj-github 你找错地方了,这个包是 gc-stats,他的预编译包放到 aws 上了,你访问不了自然下载不了,v8-profiler-next 是放到 github release page 的。

这种提供预编译的 npm addon 模块思路都一样,你要是公司访问不了,自己从 github release page 拉下来放到私有的静态资源服务器上,然后 --xprofiler_binary_host_mirror=你的私有静态资源服务地址 就能保证安装成功了。

from v8-profiler-next.

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.