Reputation: 29
We just migrated our project from ember-resolver 2.0.3 to ember-resolver 5.0.1. We also updated ember-cli from 2.9.1 to 3.3.0. All of our environments work as they should except production.
We are getting an error of Could not find module 'ember-resolver' imported from ...
I saw that this was an issue back when users upgraded from 2.12 --> 2.17.
Anyone else getting something similar?
ember-cli: 3.3.0
http_parser: 2.7.0
node: 6.10.0
v8: 5.1.281.93
uv: 1.9.1
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 58.2
modules: 48
openssl: 1.0.2k
os: win32 x64
3.10.10
Upvotes: 1
Views: 481
Reputation: 22883
Had the same issue in production only. As described in the comments and in this other answer https://stackoverflow.com/a/44772607/1515819, this error seems to be related to cached files that shouldn't be there.
Clearing the build cache worked for me on Heroku:
$ heroku repo:purge_cache -a appname
https://help.heroku.com/18PI5RSY/how-do-i-clear-the-build-cache
Upvotes: 0