流星何时添加角度模板时出错



我尝试按照教程"创建您的第一个应用程序"构建第一个应用程序。删除blaze-html模板很好,但是当尝试执行"流星添加角度模板"时,发生了错误,如下所示。由于此错误,我无法继续本教程。我是流星角用户的新手。有人知道为什么我收到此错误吗?我试着到处寻找,但没有线索。我正在使用Windows 10操作系统。

非常感谢。

E:\meteor learning\simple-todos>meteor add angular-templates C:\Users\XXXXX's PC\AppData\Local.meteor\packages\meteor-tool\1.4.3_2\mt-os.windows.x86_32\isopackets\ddppmode_modules\meteor\promiseode_modules\meteor-promise\promise_server.js:190 抛出错误; ^

错误:在以下位置找不到 isopack 的元数据文件:/C/Users/xxxxx's PC/AppData/Local/.meteor/packages/angular-templates/1.0.9 at [object Object]._.extend.loadUnibuildsFromPath (C:\tools\isobuild\isopack.js:900:13) at C:\tools\packaging\tropohouse.js:521:21 at Array.forEach (native) 在功能..each._.forEach (C:\Users\GUILONG'S PC\AppData\Local.meteor\packages\meteor-tool\1.4.3_2\mt-os.windows.x86_32\dev_bundle\libode_modules underscore\underscore.js:79:11) at C:\tools\packaging\tropohouse.js:520:13 at C:\tools\utils\buildmessage.js:359:18 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:352:34 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:350:23 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.enterJob (C:\tools\utils\buildmessage.js:324:26) at C:\tools\packaging\tropohouse.js:515:22 at C:\tools\utils\buildmessage.js:359:18 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:352:34 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:350:23 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.enterJob (C:\tools\utils\buildmessage.js:324:26) at Object.download (C:\tools\packaging\tropohouse.js:427:20) at C:\tools\packaging\tropohouse.js:600:22 at C:\tools\utils\buildmessage.js:359:18 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:352:34 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:350:23 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.enterJob (C:\tools\utils\buildmessage.js:324:26) 在 [对象对象]..extend.downloadPackagesMissingFromMap (C:\tools\packaging\tropohouse.js:597:20) at C:\tools\project-context.js:808:25 at C:\tools\utils\buildmessage.js:359:18 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:352:34 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:350:23 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.enterJob (C:\tools\utils\buildmessage.js:324:26) at C:\tools\project-context.js:807:20 at C:\tools\packaging\catalog\catalog.js:100:5 at C:\tools\utils\buildmessage.js:271:13 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:264:29 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:262:18 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:253:23 at [object Object]._.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.capture (C:\tools\utils\buildmessage.js:252:19) at Object.catalog.runAndRetryWithRefreshIfHelpful (C:\tools\packaging\catalog\catalog.js:99:31) 在项目上下文中。downloadMissing Packages (C:\tools\project-context.js:806:13) at C:\tools\project-context.js:283:9 at C:\tools\utils\buildmessage.js:359:18 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:352:34 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:350:23 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.enterJob (C:\tools\utils\buildmessage.js:324:26) 在ProjectContext._.扩展。completeStagesThrough (C:\tools\project-context.js:273:18) at C:\tools\project-context.js:265:12 at Function.run (C:\tools\tool-env\profile.js:490:12) 在项目上下文中。extend.prepareProjectForBuild (C:\tools\project-context.js:264:13) at C:\tools\cli\command-packages.js:2071:20at C:\tools\utils\buildmessage.js:271:13 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:264:29 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:262:18 在 [对象对象]。.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:253:23 在 [对象对象]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.capture (C:\tools\utils\buildmessage.js:252:19) at Command.func (C:\tools\cli\commands-packages.js:2070:27) at C:\tools\cli\main.js:1483:23

有类似的问题,尝试手动删除/C/Users/xxxxx'SPC/AppData/Local/.meteor/packages/angular-templates 目录。你可以为此使用rim raf节点模块。运行meteor update后,它将再次重新安装角度模板依赖项。这应该会有所帮助。

最新更新