在Jhipster上运行项目只显示"这是你的页脚"

时间:2016-01-27 08:36:26

标签: angularjs spring jhipster

我已阅读问题Jhipster display "this is your footer" only. ReferenceError: angular is not defined。关于这个问题的答案不帮助我。当我运行jhipster项目时 - 窗口浏览器只显示文本"这是你的页脚"。 浏览器屏幕: enter image description here

节点版本:v4.2.6

npm版本:3.5.3

这是一个bower.json:

    {
    "name": "tanga",
    "version": "0.0.0",
    "appPath": "src/main/webapp",
    "testPath": "src/test/javascript/spec",
    "dependencies": {
        "angular": "1.4.8",
        "angular-aria": "1.4.8",
        "angular-bootstrap": "0.14.3",
        "angular-cache-buster": "0.4.3",
        "angular-cookies": "1.4.8",
        "angular-dynamic-locale": "0.1.28",
        "angular-i18n": "1.4.8",
        "angular-local-storage": "0.2.3",
        "angular-loading-bar": "0.8.0",
        "angular-resource": "1.4.8",
        "angular-sanitize": "1.4.8",
        "angular-translate": "2.8.1",
        "angular-translate-interpolation-messageformat": "2.8.1",
        "angular-translate-loader-partial": "2.8.1",
        "angular-translate-storage-cookie": "2.8.1",
        "angular-ui-router": "0.2.15",
        "bootstrap": "3.3.5",
        "jquery": "2.1.4",
        "json3": "3.3.2",
        "modernizr": "3.2.0",
        "ng-file-upload": "10.0.2",
        "ngInfiniteScroll": "1.2.1",
        "swagger-ui": "2.1.3"
    },
    "devDependencies": {
        "angular-mocks": "1.4.8",
        "angular-scenario": "1.4.8"
    },
    "overrides": {
        "bootstrap": {
            "main": [
                "dist/js/bootstrap.js",
                "dist/css/bootstrap.css",
                "less/bootstrap.less"
            ]
        }
    },
    "resolutions": {
        "angular": "1.4.8",
        "angular-cookies": "1.4.8",
        "jquery": "2.1.4"
    }
}

如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

生成应用程序时出现错误(可能是网络问题)。

正如生成应用程序时在上一条消息中所写,请再次运行npm installbower install