Meteor angular更新到1.3.4.4(从1.3.4.1开始)破坏了模板

Meteor angular更新到1.3.4.4(从1.3.4.1开始)破坏了模板,meteor,angular-meteor,Meteor,Angular Meteor,今天在我的meteor angular project(工作版本为1.3.4.1)中运行meteor update后,不再加载任何内容,并且控制台中出现多个错误,例如: angular_angular.js?hash=08f63d2…:13439 Error: [angular-meteor][err][404] client/templates/base.html - HTML template does not exists! You can disable this error

今天在我的meteor angular project(工作版本为1.3.4.1)中运行
meteor update
后,不再加载任何内容,并且控制台中出现多个错误,例如:

angular_angular.js?hash=08f63d2…:13439 
    Error: [angular-meteor][err][404] client/templates/base.html - HTML template does not exists! You can disable this error by following this guide http://www.angular-meteor.com/api/1.3.11/templates
    at Object.$provide.decorator.$delegate.get (templates-handler.js:33)
    at sendReq (angular_angular.js?hash=08f63d2…:11408)
    at serverRequest (angular_angular.js?hash=08f63d2…:11148)
    at processQueue (angular_angular.js?hash=08f63d2…:15772)
    at angular_angular.js?hash=08f63d2…:15788
    at Scope.$eval (angular_angular.js?hash=08f63d2…:17040)
    at Scope.$digest (angular_angular.js?hash=08f63d2…:16856)
    at Scope.$apply (angular_angular.js?hash=08f63d2…:17148)
    at bootstrapApply (angular_angular.js?hash=08f63d2…:1728)
    at Object.invoke (angular_angular.js?hash=08f63d2…:4640)
(每个模板一个错误)

需要注意的是,在升级之前,一切都工作得很好

加载模板的代码:

$stateProvider.state('base', {
        abstract: true,
        templateUrl: 'client/templates/base.html',
        controller: 'BaseCtrl as base',
        ...
想法

==编辑2016.7.27== 不管问题是什么,现在都解决了。今天我跑:

meteor update --release 1.3.5.1
流星更新,一切仍然像一个魅力工程


注意:当更新到meteor 1.4时,这个问题仍然会发生。请使用以下样式

import templateUrl from './meteorSample.html'

angular.module(module.name)
  .component('meteorSample', {
   templateUrl
 })

阿基米德·特拉亚诺的评论几乎是正确的,但问题的完整工作代码应如下所示:

import templateUrl from './base.html';

$stateProvider.state('base', {
        abstract: true,
        templateUrl,
        controller: 'BaseCtrl as base',
        ...

我将import templateUrl从“./client/global/template/login.html”导入;但是我收到这个服务器错误,无法解析某些模块:“../client/global/template/login.html”在/C/Users/mg ya/Documents/worker_platform/lib/app.js(os.windows.x86_32)中删除所有路径,只保留/作为当前路径,假设html文件与js文件位于同一目录中。因此,最终的导入如下所示:从“/login.html”导入templateUrl;请注意,随着流星更新版1.3.5.1的发布,这些黑客似乎不再需要了。我认为这是在使用angular2,对吗?有使用angular1的解决方案吗?