Ошибка, про выполнении скрипта sh на Ubuntu 18.04, ( luminati-proxy, nodejs)

Ставлю https://github.com/luminati-io/luminati-proxy на Ubuntu 18.04

Проблема: Получаю ошибку gyp ERR! stack Error: make failed with exit code: 2

Как исправить эту ошибку?

Пробовал:

  1. Чистить кеш на HOME директории
  2. Полностью удалить nodejs и все его узлы и поставить по новой
  3. Обновить/удалить и поставить по новой node-gyp
  4. Ставить разные версии nodejs
  5. Дать права на разные папки, где установлен node_modules Ничего не помогает, подскажите пожалуйста, кто чем может. Подтолкните куда смотреть.

dmitry@dmitry:~$ node -v
v12.18.3
dmitry@dmitry:~$ nodejs -v
v8.10.0
dmitry@dmitry:~$ npm -v
6.14.6

dmitry@dmitry:~$ curl -L https://luminati.io/static/lpm/luminati-proxy-latest-se                                                                             tup.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    83  100    83    0     0    275      0 --:--:-- --:--:-- --:--:--   274
100 17425  100 17425    0     0  36002      0 --:--:-- --:--:-- --:--:-- 36002
Luminati install script. Install id: l4RvF5h2fz3ev5hZGnMiTJSULop9yqLz
checking deps...
checking brew...
checking curl...
checking nodejs...
node v12.18.3 is installed
installing deps...
checking npm...
installing build tools...
cleaning lpm related node packages and npm cache...
removing luminati links...
installing Luminati proxy manager...
../src/heapdump.cc: In function ‘void {anonymous}::Initialize(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/heapdump.cc:128:67: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(Configure)->GetFunction());
                                                                   ^
In file included from /home/dmitry/.cache/node-gyp/12.18.3/include/node/node.h:67:0,
                 from ../src/heapdump.cc:15:
/home/dmitry/.cache/node-gyp/12.18.3/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/dmitry/.cache/node-gyp/12.18.3/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
../src/heapdump.cc:131:71: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(WriteSnapshot)->GetFunction());
                                                                       ^
In file included from /home/dmitry/.cache/node-gyp/12.18.3/include/node/node.h:67:0,
                 from ../src/heapdump.cc:15:
/home/dmitry/.cache/node-gyp/12.18.3/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/dmitry/.cache/node-gyp/12.18.3/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
make: *** [Release/obj.target/addon/src/heapdump.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.15.0-122-generic
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/@luminati-io/luminati-proxy/node_modules/heapdump
gyp ERR! node -v v12.18.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
Downloading Chromium r706915 - 118.3 Mb [====================] 100% 0.0s
check install
Luminati installed successfully!
Luminati install script complete. Install id: l4RvF5h2fz3ev5hZGnMiTJSULop9yqLz
To run the process enter 'luminati'


Ответы (0 шт):