Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Getting Error - Not finding node-zopfli module and not able to download from link resulting Metron MPack Build Failure

Highlighted

Getting Error - Not finding node-zopfli module and not able to download from link resulting Metron MPack Build Failure

New Contributor

Getting Error - Not finding node-zopfli module and not able to download from link resulting Metron MPack Build Failure.

[INFO] > node-zopfli@2.0.2 install /home/bdsiwb_2018/incubator-metron/metron-interface/metron-config/node_modules/node-zopfli [INFO] > node-pre-gyp install --fallback-to-build [INFO] [ERROR] node-pre-gyp ERR! Tried to download(403): https://node-zopfli.s3.amazonaws.com/Release/zopfli-v2.0.2-node-v48-linux-x64.tar.gz [ERROR] node-pre-gyp ERR! Pre-built binaries not found for node-zopfli@2.0.2 and node@6.2.0 (node-v48 ABI, glibc) (falling back to source compile with node-gyp) [ERROR] gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.2.0" [ERROR] gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/bdsiwb_2018/incubator-metron/metron-interface/metron-config/node_modules/node-zopfli/.node-gyp" [ERROR] Could not find platform dependent libraries <exec_prefix> [ERROR] Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] [ERROR] Traceback (most recent call last): [ERROR] File "/home/bdsiwb_2018/incubator-metron/metron-interface/metron-config/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module> [ERROR] import gyp [ERROR] File "/home/bdsiwb_2018/incubator-metron/metron-interface/metron-config/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module> [ERROR] import gyp.input [ERROR] File "/home/bdsiwb_2018/incubator-metron/metron-interface/metron-config/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module> [ERROR] from compiler.ast import Const [ERROR] File "/usr/lib/python2.7/compiler/__init__.py", line 29, in <module> [ERROR] from compiler.transformer import parse, parseFile [ERROR] File "/usr/lib/python2.7/compiler/transformer.py", line 29, in <module> [ERROR] import parser [ERROR] ImportError: No module named parser [ERROR] gyp ERR! configure error [ERROR] gyp ERR! stack Error: `gyp` failed with exit code: 1 [ERROR] gyp ERR! stack at ChildProcess.onCpExit (/home/bdsiwb_2018/incubator-metron/metron-interface/metron-config/node_modules/node-gyp/lib/configure.js:336:16) [ERROR] gyp ERR! stack at emitTwo (events.js:106:13) [ERROR] gyp ERR! stack at ChildProcess.emit (events.js:191:7) [ERROR] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) [ERROR] gyp ERR! System Linux 3.10.0-693.21.1.el7.x86_64 [ERROR] gyp ERR! command "/home/bdsiwb_2018/incubator-metron/metron-interface/metron-config/node/node"