Ember Js -Ember CLI -Mirage


#1

I am using ember -cli-0.1.12 On running ember serve I get the following 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 rimraf (/Users/mohitanand/Documents/so/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rimraf/rimraf.js:59:36) at lib$rsvp$node$$tryApply (/Users/mohitanand/Documents/so/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1467:11) at lib$rsvp$node$$handleValueInput (/Users/mohitanand/Documents/so/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1567:20) at fn (/Users/mohitanand/Documents/so/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1555:18) at /Users/mohitanand/Documents/so/node_modules/ember-cli/node_modules/broccoli-caching-writer/index.js:100:14 at lib$rsvp$$internal$$tryCatch (/Users/mohitanand/Documents/so/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/mohitanand/Documents/so/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/mohitanand/Documents/so/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:472:11) at Object.lib$rsvp$asap$$flush [as _onImmediate] (/Users/mohitanand/Documents/so/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1290:9) at processImmediate [as _immediateCallback] (timers.js:354:15)

How to resolve this