You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewthis.constructor.BuilderError('Directory not found: '+this.watchedPaths[i]);
}
if(!isDirectory){
thrownewthis.constructor.BuilderError('Not a directory: '+this.watchedPaths[i]);
}
}
}
Unfortunately, that error message is pretty useless:
BuilderError: Directory not found: addon/styles
at Builder.checkInputPathsExist (/Users/rjackson/sandbox/zenunu/node_modules/broccoli/dist/builder.js:241:23)
at new Builder (/Users/rjackson/sandbox/zenunu/node_modules/broccoli/dist/builder.js:58:14)
at Builder.setupBroccoliBuilder (/Users/rjackson/sandbox/zenunu/node_modules/ember-cli/lib/models/builder.js:84:22)
at new Builder (/Users/rjackson/sandbox/zenunu/node_modules/ember-cli/lib/models/builder.js:32:10)
at BuildTask.run (/Users/rjackson/sandbox/zenunu/node_modules/ember-cli/lib/tasks/build.js:15:19)
at Promise.resolve.then (/Users/rjackson/sandbox/zenunu/node_modules/ember-cli/lib/models/command.js:239:24)
at tryCatcher (/Users/rjackson/sandbox/zenunu/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:326:21)
at invokeCallback (/Users/rjackson/sandbox/zenunu/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:498:33)
at /Users/rjackson/sandbox/zenunu/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:562:16
at flush (/Users/rjackson/sandbox/zenunu/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:2441:7)
at process._tickCallback (internal/process/next_tick.js:61:11)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
In order to make it useful, we should throw it during the makeNodeWrapper recursion and include the parent node's annotation (or constructor.name).
The text was updated successfully, but these errors were encountered:
When you have either a
WatchedDir
or plain string as an input node for a plugin and that directory does not exist we throw an error here:broccoli/lib/builder.js
Lines 270 to 283 in b684378
Unfortunately, that error message is pretty useless:
In order to make it useful, we should throw it during the
makeNodeWrapper
recursion and include the parent node'sannotation
(orconstructor.name
).The text was updated successfully, but these errors were encountered: