Silence resolver deprecation

Hi, I’m getting the following error in my initializer tests: Error: Using the globals resolver is deprecated. Use the ember-resolver package instead. See

I’m trying to silence it as I’m unable to fix it but cannot even do that. In deprecation-workflow I have the following, but neither works:

    { handler: 'silence', matchId: 'ember.globals-resolver' },
    { handler: 'silence', matchId: 'ember.deprecate-globals-resolver' },

As a side note, here is the code from my app.js:

import Application from '@ember/application';
import loadInitializers from 'ember-load-initializers';
import config from 'app-name/config/environment';
import Resolver from 'ember-resolver';

export default class App extends Application {
  modulePrefix = config.modulePrefix;

  podModulePrefix = config.podModulePrefix;

  Resolver = Resolver;

loadInitializers(App, config.modulePrefix);


Are you sure this is coming from your app code and not from an addon?

I created a new initializer and the test for that initializer fails, so I assume it’s a problem with my app, but could be wrong. Any pointers how I can debug this?

Your app.js code looks pretty standard. I’m not sure why your initializer would be doing anything weird (but I also don’t know what it looks like either :grin:). My first thought is that sometimes these warnings are from other addons. My starting point is either looking in the stack trace from the error or just doing some searching in your node_modules to see what is using the Resolver in a deprecated manner.

Ok, thanks! I’ll poke around the error stack trace some more :eyes: