Skip to content

Instantly share code, notes, and snippets.

@ctataryn
Created March 10, 2015 18:11
Show Gist options
  • Save ctataryn/397cfe3131adac184507 to your computer and use it in GitHub Desktop.
Save ctataryn/397cfe3131adac184507 to your computer and use it in GitHub Desktop.
BuildingBuilding.Cleanup error.
Object function glob(pattern, options, cb) {
if (typeof options === "function") cb = options, options = {}
if (!options) options = {}
if (typeof options === "number") {
deprecated()
return
}
var g = new Glob(pattern, options, cb)
return g.sync ? g.found : g
} has no method 'hasMagic'
TypeError: Object function glob(pattern, options, cb) {
if (typeof options === "function") cb = options, options = {}
if (!options) options = {}
if (typeof options === "number") {
deprecated()
return
}
var g = new Glob(pattern, options, cb)
return g.sync ? g.found : g
} has no method 'hasMagic'
at Function.rimrafSync [as sync] (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rimraf/rimraf.js:262:13)
at ConfigLoader.CachingWriter.cleanup (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/broccoli-caching-writer/index.js:114:10)
at cleanupTree (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/broccoli/lib/builder.js:128:19)
at /centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/promise-map-series/index.js:11:14
at lib$rsvp$$internal$$tryCatch (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:489:16)
at lib$rsvp$$internal$$invokeCallback (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:501:17)
at lib$rsvp$$internal$$publish (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:472:11)
at Object.lib$rsvp$asap$$flush [as _onImmediate] (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:1290:9)
at processImmediate [as _immediateCallback] (timers.js:330:15)
Build failed.
Object function glob(pattern, options, cb) {
if (typeof options === "function") cb = options, options = {}
if (!options) options = {}
if (typeof options === "number") {
deprecated()
return
}
var g = new Glob(pattern, options, cb)
return g.sync ? g.found : g
} has no method 'hasMagic'
TypeError: Object function glob(pattern, options, cb) {
if (typeof options === "function") cb = options, options = {}
if (!options) options = {}
if (typeof options === "number") {
deprecated()
return
}
var g = new Glob(pattern, options, cb)
return g.sync ? g.found : g
} has no method 'hasMagic'
at rimraf (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rimraf/rimraf.js:57:13)
at lib$rsvp$node$$tryApply (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1467:11)
at lib$rsvp$node$$handleValueInput (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1567:20)
at fn (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1555:18)
at /centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/broccoli-caching-writer/index.js:100:14
at lib$rsvp$$internal$$tryCatch (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:489:16)
at lib$rsvp$$internal$$invokeCallback (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:501:17)
at lib$rsvp$$internal$$publish (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:472:11)
at Object.lib$rsvp$asap$$flush [as _onImmediate] (/centralbuild/apps/tprmb/tpr-tol-ui/node_modules/ember-cli/node_modules/promise-map-series/node_modules/rsvp/dist/rsvp.js:1290:9)
at processImmediate [as _immediateCallback] (timers.js:330:15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment