進入到superset/static/assets目錄
執行命令:
[root@cdh-node01 assets]# npm install
報錯信息:
安裝的node版本node-v10.15.3-linux-x64.tar.xz
解決方案降低node版本:安裝node8版本
curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -
再運行命令:
sudo yum install -y nodejs
查看Node版本:node -v
再次執行命令npm install
[root@cdh-node01 assets]# npm install
二次開發參考:
https://zhuanlan.zhihu.com/p/45389028
https://blog.csdn.net/mk_chan/article/details/86532728#comments