执行测试时出现ember-changeset错误

时间:2017-03-09 19:05:15

标签: ember.js

当尝试在ember addon ember-changeset上执行测试时,我收到以下错误:

MacBook-Pro-4:ember-changeset lukas$ ember test
Path must be a string. Received null
TypeError: Path must be a string. Received null
   at assertPath (path.js:7:11)
   at Object.join (path.js:1211:7)
   at CoreObject.<anonymous> (/usr/local/lib/node_modules/ember-cli/lib/models/addon-discovery.js:117:26)
   at Array.map (native)
   at CoreObject.discoverFromDependencies (/usr/local/lib/node_modules/ember-cli/lib/models/addon-discovery.js:107:70)
   at CoreObject.discoverChildAddons (/usr/local/lib/node_modules/ember-cli/lib/models/addon-discovery.js:69:33)
   at CoreObject.discoverAddons (/usr/local/lib/node_modules/ember-cli/lib/models/addon.js:209:42)
   at CoreObject.initializeAddons (/usr/local/lib/node_modules/ember-cli/lib/models/addon.js:222:10)
   at setupRegistryForEachAddon (/usr/local/lib/node_modules/ember-cli/node_modules/ember-cli-preprocess-registry/preprocessors.js:18:10)
   at Object.module.exports.setupRegistry (/usr/local/lib/node_modules/ember-cli/node_modules/ember-cli-preprocess-registry/preprocessors.js:46:3)

我查看了源代码,但无法找到错误。有任何想法吗?谢谢你的帮助!

0 个答案:

没有答案