-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.17 - outputPaths vendor JS option triggers "Could not find module ember-resolver
" error in browser
#7518
Comments
ember-resolver
imported from my-app/resolver
ember-resolver
" error in browser
Thank you for reporting! |
no issue - there's a [bug in ember-cli@2.17](ember-cli/ember-cli#7518) that results in production builds throwing an error: `Uncaught Error: Could not find module 'ember-resolver' imported from 'ghost-admin/resolver'`
I ran into this too. Interestingly development builds were fine so it went undetected for quite a while, in our case it was only the production build that was throwing the |
Ran into the same issue while upgrading Ember CLI from 2.16 to 2.18. Applying change from #7519 makes Ember CLI happy. Is it possible to release as a patch for 2.18? |
I believe this could be closed as v3.0.0 was released with the fix included. |
But there should be a fix in the 2.x version range, don't you think? Because right now v2.18.2 is effectively broken because of this. |
As @gnapse has pointed out this is still broken in 2.18.2. I'm working in a hybrid setup that runs an Ember Application inside of another project where we happen to have gulp available. This hack using
|
@avdv I tried that combo and it didn't. edit: going straight to 3 worked
tip: use node 8 |
With 2.17+,
ember-resolver
is not imported whenoutputPaths
contains a vendor JS config option inember-cli-build.js
I have a demo of this happening in this repo: https://github.com/GCheung55/ember-upgrade-repo
Output from
ember version --verbose && npm --version && yarn --version
:The text was updated successfully, but these errors were encountered: