Superset二次开发便宜前端代码遇到的问题

进入到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

https://fangyeqing.github.io/2017/03/04/superset%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA/

发布了43 篇原创文章 · 获赞 34 · 访问量 19万+

猜你喜欢

转载自blog.csdn.net/lin443514407lin/article/details/90644983
今日推荐