gpt4 book ai didi

Meteor 1.3 - 运行 Meteor 测试抛出 AssertionError : "undefined" === false

转载 作者:行者123 更新时间:2023-12-02 02:15:59 24 4
gpt4 key购买 nike

我刚刚将现有的 Meteor 1.2 项目升级到 Meteor 1.3,并希望开始使用新的“meteor 测试”功能。但是,当我运行命令 meteor test --driver-packagepracticalmeteor:mocha 时,我得到以下输出。

谁能告诉我如何缩小这个原因的范围。我能找到的唯一相关问题是 issue #6527 import-scanner - inconsistent lazy loading package files in Meteor 1.3-rc.3 ,但是这被标记为已解决。

提前非常感谢您提供任何线索!

[[[[[ Tests ]]]]]                             

=> Started proxy.
=> Started MongoDB.

/home/me/.meteor/packages/coffeescript/.1.0.15.1v9es4z++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116
throw error;
^
AssertionError: "undefined" === false
at ImportScanner._combineFiles (/tools/isobuild/import-scanner.js:154:12)
at /tools/isobuild/import-scanner.js:140:14
at Array.forEach (native)
at ImportScanner.addInputFiles (/tools/isobuild/import-scanner.js:119:11)
at /tools/isobuild/compiler-plugin.js:756:15
at Array.forEach (native)
at Function.computeJsOutputFilesMap (/tools/isobuild/compiler-plugin.js:726:19)
at ClientTarget._emitResources (/tools/isobuild/bundler.js:910:8)
at /tools/isobuild/bundler.js:677:12
at /tools/utils/buildmessage.js:359:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:352:34
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:350:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.enterJob (/tools/utils/buildmessage.js:324:26)
at ClientTarget.make (/tools/isobuild/bundler.js:668:18)
at /tools/isobuild/bundler.js:2509:14
at /tools/isobuild/bundler.js:2599:20
at Array.forEach (native)
at Function._.each._.forEach (/home/me/.meteor/packages/meteor-tool/.1.3.0_3.61500n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at /tools/isobuild/bundler.js:2598:7
at /tools/utils/buildmessage.js:271:13
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:264:29
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:262:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:253:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.capture (/tools/utils/buildmessage.js:252:19)
at Object.exports.bundle (/tools/isobuild/bundler.js:2490:31)
at /tools/runners/run-app.js:591:36
at Function.run (/tools/tool-env/profile.js:489:12)
at bundleApp (/tools/runners/run-app.js:581:34)
at AppRunner._runOnce (/tools/runners/run-app.js:634:35)
at AppRunner._fiber (/tools/runners/run-app.js:887:28)
at /tools/runners/run-app.js:411:12

最佳答案

通过暴力消除过程(从项目中删除所有文件并将它们一一添加回来!),我发现问题是由 bootstrap-settings.json< 的存在触发的 文件,用于管理 huttonr:bootstrap3 包生成的引导文件

我已直接向项目所有者提出了与此相关的问题:https://github.com/huttonr/bootstrap3/issues/17

与此同时,作为解决方法,我禁用了 huttonr:bootstrap3 软件包并删除了 client/stylesheets/bootstrap-settings.json 文件

关于Meteor 1.3 - 运行 Meteor 测试抛出 AssertionError : "undefined" === false,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36393458/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com