Skip to content

Instantly share code, notes, and snippets.

@bartocc
Created April 4, 2019 07:52
Show Gist options
  • Save bartocc/762e9f3246f3449ddf19650098d2308f to your computer and use it in GitHub Desktop.
Save bartocc/762e9f3246f3449ddf19650098d2308f to your computer and use it in GitHub Desktop.
ember serve mirage error
Error: Could not find module `fetch` imported from `dummy/instance-initializers/setup-fetch`
at missingModule (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/vendor/loader/loader.js:247:1)
at findModule (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/vendor/loader/loader.js:258:1)
at Module.findDeps (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/vendor/loader/loader.js:168:1)
at findModule (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/vendor/loader/loader.js:262:1)
at requireModule (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/vendor/loader/loader.js:24:1)
at resolveInitializer (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/addon-tree-output/ember-load-initializers/index.js:11:1)
at registerInstanceInitializers (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/addon-tree-output/ember-load-initializers/index.js:34:1)
at _default (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/addon-tree-output/ember-load-initializers/index.js:66:1)
at Module.callback (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/dummy/app.js:13:1)
at Module.exports (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/vendor/loader/loader.js:106:1)
at Module._reify (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/vendor/loader/loader.js:143:1)
at Module.reify (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/vendor/loader/loader.js:130:1)
at Module.exports (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/vendor/loader/loader.js:104:1)
at Object.requireModule (/private/tmp/ember-cli-mirage/tmp/broccoli_persistent_filterreplace_filter-output_path-4chjqu4j.tmp/assets/vendor/loader/loader.js:27:1)
at Object.<anonymous> (/private/tmp/ember-cli-mirage/node_modules/ember-cli-fastboot/node_modules/fastboot/src/ember-app.js:179:18)
at VMSandbox.run (/private/tmp/ember-cli-mirage/node_modules/ember-cli-fastboot/node_modules/fastboot/src/vm-sandbox.js:18:15)
at EmberApp.createEmberApp (/private/tmp/ember-cli-mirage/node_modules/ember-cli-fastboot/node_modules/fastboot/src/ember-app.js:178:30)
at EmberApp.retrieveSandboxedApp (/private/tmp/ember-cli-mirage/node_modules/ember-cli-fastboot/node_modules/fastboot/src/ember-app.js:203:17)
at new EmberApp (/private/tmp/ember-cli-mirage/node_modules/ember-cli-fastboot/node_modules/fastboot/src/ember-app.js:59:21)
at FastBoot._buildEmberApp (/private/tmp/ember-cli-mirage/node_modules/ember-cli-fastboot/node_modules/fastboot/src/index.js:114:17)
at new FastBoot (/private/tmp/ember-cli-mirage/node_modules/ember-cli-fastboot/node_modules/fastboot/src/index.js:52:10)
at app.use (/private/tmp/ember-cli-mirage/node_modules/ember-cli-fastboot/index.js:319:29)
at Layer.handle [as handle_request] (/private/tmp/ember-cli-mirage/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/private/tmp/ember-cli-mirage/node_modules/express/lib/router/index.js:317:13)
at /private/tmp/ember-cli-mirage/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/private/tmp/ember-cli-mirage/node_modules/express/lib/router/index.js:335:12)
at next (/private/tmp/ember-cli-mirage/node_modules/express/lib/router/index.js:275:10)
at err (/private/tmp/ember-cli-mirage/node_modules/ember-cli/lib/tasks/server/middleware/broccoli-watcher/index.js:54:11)
at watcher.then (/private/tmp/ember-cli-mirage/node_modules/broccoli-middleware/lib/watcher-middleware.js:35:7)
at tryCatcher (/private/tmp/ember-cli-mirage/node_modules/ember-cli/node_modules/rsvp/dist/lib/rsvp/-internal.js:39:19)
at invokeCallback (/private/tmp/ember-cli-mirage/node_modules/ember-cli/node_modules/rsvp/dist/lib/rsvp/-internal.js:211:31)
at /private/tmp/ember-cli-mirage/node_modules/ember-cli/node_modules/rsvp/dist/lib/rsvp/then.js:26:14
at flush (/private/tmp/ember-cli-mirage/node_modules/ember-cli/node_modules/rsvp/dist/lib/rsvp/asap.js:80:5)
at process._tickCallback (internal/process/next_tick.js:61:11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment