discoveryjs / cpupro

Rethinking of CPU profile analysis
https://discoveryjs.github.io/cpupro/
MIT License
450 stars 7 forks source link

Module did not self-register #2

Open kenotron opened 2 years ago

kenotron commented 2 years ago

Hey I'm trying to hook this up to the webpack build process, but getting this:

Error: Module did not self-register: '/home/ken/workspace/tmp1/node_modules/v8-profiler-next/build/Release/profiler.node'.

repros in WSL and on Windows.

  System:
    OS: Linux 5.10 Ubuntu 20.04.3 LTS (Focal Fossa)
    CPU: (64) x64 AMD Ryzen Threadripper 3970X 32-Core Processor
    Memory: 57.68 GB / 62.75 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    Yarn: 1.23.18 - /usr/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
  Managers:
    Apt: 2.0.6 - /usr/bin/apt
    pip3: 20.0.2 - /usr/bin/pip3
    RubyGems: 3.1.2 - /usr/bin/gem
  Utilities:
    Make: 4.2.1 - /usr/bin/make
    GCC: 9.3.0 - /usr/bin/gcc
    Git: 2.25.1 - /usr/bin/git
  IDEs:
    Nano: 4.8 - /usr/bin/nano
    VSCode: 1.65.0 - /mnt/c/Program Files/Microsoft VS Code/bin/code
    Vim: 8.1 - /usr/bin/vim
  Languages:
    Bash: 5.0.17 - /usr/bin/bash
    Perl: 5.30.0 - /usr/bin/perl
    Python: 3.8.10 - /usr/bin/python
    Python3: 3.8.10 - /usr/bin/python3
    Ruby: 2.7.0 - /usr/bin/ruby
  Browsers:
    Chrome: 94.0.4606.61