-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Error importing moment-timezone with ember-auto-import 2.6.2 #396
Comments
Are you using yarn or npm? Is it possible that the devDeps of ember-moment got installed, or some other dependency has brought in moment-timezone, and dependency hoisting my the package manager has caused an incorrect node_modules, making ember-moment think moment-timezone is there?
Other than that, a reproduction repo would be most helpful |
I have the same issue. This is the error message I get in the browser console:
In the package.json file, I have:
According to yarn:
|
@mehran-naghizadeh there's a workaround in embroider-build/ember-auto-import#578 (comment) |
After upgrading ember-auto-import from 2.6.1 to 2.6.2, the app has a runtime failure importing moment-timezone:
The app does not have a dependency on moment-timezone.
The text was updated successfully, but these errors were encountered: