使用CleverStack停止安装进度

时间:2016-05-01 19:19:10

标签: angularjs node.js

我有这个问题用CleverStack创建一个新项目。安装进度在64%时停止。

准备安装......

var app = angular.module("myApp", []);

app.factory('musicService', function($http) {
   var factory = {};

    factory.getArtists = function() {
        // 1. return the http promise
        return $http.get('artists.json').then(function(resource) {
            return resource.artists;
        });
    }

   return factory;
});

app.controller("listController", ["$scope", "musicService",
    function($scope, musicService) {

    $scope.artists = {};
    // 2. get the http promise and use then() to access the returned value
    musicService.getArtists().then(function(artists) {
        $scope.artists = artists;
        console.log($scope.artists);  // return undefined
    });

}]);

安装后端......

└── Creating project installation path...

安装前端......

├── Installation path is /Users/XXXX/Documents/project/my-first-app/backend...

├── Downloading and extracting node-seed...

├── Creating local configuration file config/local.json...

├── Installing NPM modules...

└── Installing module dependencies...

✔ Backend installation has completed successfully!

任何人都可以帮助我吗?

0 个答案:

没有答案