1
我是初學者齊柏林飛艇。今天,我想用我的命令的計算機上安裝飛艇:飛利浦web前端錯誤與角
MVN全新安裝-Pspark-1.5.1 -Dhadoop.version = 2.3.0-cdh5.0.2 -Phadoop-2.3 -DskipTests
我得到「karma:單元」的錯誤,「測試未通過,因此我在」zeppelin-web/pom.xml
「文件的grunt的maven目標中添加了」--force
「。之後,我確實通過了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.