Could not find module `ember-resolver` after Production Build

Hello to everyone,

I have a problem with production build. I’m creating blank project with CLI 3.14.0, 3.15.0 and 3.17.0 and I get this errors on browser console:

Uncaught TypeError: (0 , t.createSuper) is not a function
vendor.js:xx Uncaught Error: Could not find module `ember-resolver` imported from `project-name/resolver`

node: 12.16.1 npm: 6.14.4

Regards, Themesama

1 Like

:wave: I think this is the same issue that I commented on over in Getting "Could not find module `ember-resolver`" error, you basically need ember-source@3.17.1 or higher (or the latest 3.16 patch release). ember-source 3.13, 3.14, 3.15 are all unsupported versions (and won’t get the fixes required).

1 Like

Thank you very much! I’m back LTS 3.12.1 https://emberjs.com/releases/lts

Regards, Themesama

As a future debugging tip, “could not find ember-resolver” is a red herring. It means that vendor.js threw an error or failed to parse, so when app.js bundle is being parsed, ember-resolver isn’t available and it throws right away. (I learned this from @ef4)

1 Like