hyj1991 / v8-profiler-next

node bindings for the v8 profiler
MIT License
219 stars 21 forks source link

Aarch64 platform load error #54

Closed jianglin-wu closed 2 years ago

jianglin-wu commented 2 years ago

ENV

HOST

uname -a
Linux ecs-tpp-manager 4.19.90-17.5.ky10.aarch64 #1 SMP Fri Aug 7 13:35:33 CST 2020 aarch64 aarch64 aarch64 GNU/Linux

Docker

FROM arm64v8/node:14.19.3-alpine

Docker OS

/opt/tpp-server # uname -a
Linux 58a27ef5dc78 4.19.90-17.5.ky10.aarch64 #1 SMP Fri Aug 7 13:35:33 CST 2020 aarch64 Linux

Error 1 image 2 image

hyj1991 commented 2 years ago

try npm i v8-profiler-next --build-from-source please :)

jianglin-wu commented 2 years ago

Thanks👍. The problem has been solved.

I use environment variables to install through yarn:

npm_config_build_from_source=true yarn install

Sorry for the late reply.

harishoss commented 1 year ago

@hyj1991, I think we should add this as note to the readme.md Let me raise a PR

hyj1991 commented 1 year ago

I think we should add this as note to the readme.md Let me raise a PR

Great, looking forward to your PR :)