我遵循这个指南在HDP3.1.4、centos 7上安装hue
https://gethue.com/configure-ambari-hdp-with-hue/
在building:sudo make apps,它失败的原因是:
npm ERR! Linux 3.10.0-1127.13.1.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "webpack"
npm ERR! node v6.17.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! gethue@4.7.9 webpack: `webpack --config webpack.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the gethue@4.7.9 webpack script 'webpack --config webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the gethue package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack --config webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs gethue
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls gethue
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/kosmin/hue/npm-debug.log
make[1]:***[npm-install] Error 1
make[1]: Leaving directory `/home/kosmin/hue'
make:***[apps] Error 2
知道我错过了什么吗?已安装依赖项。
2条答案
按热度按时间4ioopgfo1#
已安装的最新版本https://nodejs.org/en/download/ 它正在发挥作用:
centos 7系列:
kulphzqa2#
您的节点版本似乎是:
节点v6.17.1
你至少需要v10:
https://docs.gethue.com/developer/development/#dependencies
(在文件中会更清楚)https://docs.gethue.com/administrator/installation/dependencies/)