【问题标题】:zeppelin web frontend error with angular齐柏林飞艇网络前端错误与角度
【发布时间】:2016-02-16 00:09:24
【问题描述】:

我是 zeppelin 的初学者。今天我尝试使用命令在我的计算机上安装 zeppelin:

mvn clean install -Pspark-1.5.1 -Dhadoop.version=2.3.0-cdh5.0.2 -Phadoop-2.3 -DskipTests

我收到“karma:unit”测试未通过的错误,因此我在“zeppelin-web/pom.xml”文件中将“--force”添加到 grunt 的 maven 目标中。之后,我确实通过了 mvn install 命令,结果如下。

但是,当我访问 zeppelin-web 的索引页面时,我得到一个空白页面,其中包含一些 javascript 错误。它通过浏览器开发者工具的控制台显示错误:

Uncaught Error: [$injector:modulerr] Failed to instantiate module zeppelinWebApp due to:
Error: [$injector:modulerr] Failed to instantiate module angular.filter due to:
Error: [$injector:nomod] Module 'angular.filter' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.4.7/$injector/nomod?p0=angular.filter
    at http://172.21.4.227:8080/scripts/vendor.js:36:380
    at http://172.21.4.227:8080/scripts/vendor.js:36:9937

当我在另一台电脑上尝试同样的事情时,我得到了以下错误:

Uncaught Error: [$injector:modulerr] Failed to instantiate module zeppelinWebApp due to:
Error: [$injector:modulerr] Failed to instantiate module ngRoute due to:
Error: [$injector:nomod] Module 'ngRoute' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.4.7/$injector/nomod?p0=ngRoute
    at http://172.20.36.248:12048/scripts/vendor.js:36:380
    at http://172.20.36.248:12048/scripts/vendor.js:36:9937

我想尽一切办法解决它,但对前端技能知之甚少,我不知道该怎么做。有人可以帮我吗?非常感谢。

下面是mvn结果:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Zeppelin ........................................... SUCCESS [ 17.732 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [ 18.971 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [  9.105 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ 34.072 s]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 37.429 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  2.069 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  1.903 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  1.943 s]
[INFO] Zeppelin: Hive interpreter ......................... SUCCESS [  5.718 s]
[INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [  7.575 s]
[INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [  3.014 s]
[INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [  2.681 s]
[INFO] Zeppelin: Flink .................................... SUCCESS [ 10.524 s]
[INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [  4.666 s]
[INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [  2.621 s]
[INFO] Zeppelin: Lens interpreter ......................... SUCCESS [  6.013 s]
[INFO] Zeppelin: Cassandra ................................ SUCCESS [01:05 min]
[INFO] Zeppelin: web Application .......................... SUCCESS [02:26 min]
[INFO] Zeppelin: Server ................................... SUCCESS [ 21.470 s]
[INFO] Zeppelin: Packaging distribution ................... SUCCESS [  1.740 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:41 min
[INFO] Finished at: 2015-11-14T21:04:28+08:00
[INFO] Final Memory: 158M/544M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "spark-1.5.1" could not be activated because it does not exist.

【问题讨论】:

    标签: angularjs apache-zeppelin


    【解决方案1】:

    试试“mvn clean package -DskipTests”

    【讨论】:

      猜你喜欢
      • 2017-12-24
      • 2019-01-08
      • 2021-07-14
      • 2016-04-16
      • 2019-02-08
      • 1970-01-01
      • 2017-08-03
      • 2019-11-01
      • 2018-08-01
      相关资源
      最近更新 更多