I frequently do a fresh ynpm install of my app, and sometime in the past couple days, my Ember build has broken with:
% ember build
⠋ BuildingCannot set property '_directoryPath' of undefined
TypeError: Cannot set property '_directoryPath' of undefined
at Directory (/Users/denchen/git/my-app/node_modules/broccoli-source/index.js:6:23)
at UnwatchedDir (/Users/denchen/git/my-app/node_modules/broccoli-source/index.js:65:13)
at Array.map (native)
at Class._makeSourceTree (/Users/denchen/git/my-app/node_modules/ember-cli-svgstore/index.js:66:49)
at Class.<anonymous> (/Users/denchen/git/my-app/node_modules/ember-cli-svgstore/index.js:58:32)
at Array.map (native)
at Class._makeSvgTrees (/Users/denchen/git/my-app/node_modules/ember-cli-svgstore/index.js:57:29)
at Class.treeForPublic (/Users/denchen/git/my-app/node_modules/ember-cli-svgstore/index.js:20:22)
at Class._treeFor (/Users/denchen/git/my-app/node_modules/ember-cli/lib/models/addon.js:534:33)
at Class.treeFor (/Users/denchen/git/my-app/node_modules/ember-cli/lib/models/addon.js:494:21)
The line in question is in broccoli-source/index.js:
I'm not sure if ember-cli-svgstore is the actual cause of this since there hasn't been a new version of this package in sometime. But I'm not sure how to further debug the root issue. Again, I tend to reinstall my app on a regular basis, and this only started happening in the past couple days or so. I know for a fact my last reinstall as early as this past Monday worked just fine.
I frequently do a fresh
ynpm install
of my app, and sometime in the past couple days, my Ember build has broken with:The line in question is in
broccoli-source/index.js
:Possibly relevant packages:
I'm not sure if
ember-cli-svgstore
is the actual cause of this since there hasn't been a new version of this package in sometime. But I'm not sure how to further debug the root issue. Again, I tend to reinstall my app on a regular basis, and this only started happening in the past couple days or so. I know for a fact my last reinstall as early as this past Monday worked just fine.