-
Notifications
You must be signed in to change notification settings - Fork 109
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
Possibly not compatible with [email protected]? #267
Comments
@NullVoxPopuli can you confirm that your app works with the latest |
Yes, I found this issue too. I'm using I tried |
It looks like the problem is here:
|
Yeah, I tested it with embroider and it works well, so it's not the problem of |
I have this problem with embroider as well, I think -- still investigating |
I confirm same issue with ember-auto-import 1.10.1 & ember-cli-typescript 4.1.0 & ember-cli-babel 7.24.0, trying to import |
@dfreeman fix helps me diff --git a/node_modules/ember-auto-import/js/package.js b/node_modules/ember-auto-import/js/package.js
index 40b93f8..6e9ac22 100644
--- a/node_modules/ember-auto-import/js/package.js
+++ b/node_modules/ember-auto-import/js/package.js
@@ -77,7 +77,7 @@ class Package {
// match.
let babelAddon = instance.addons.find(addon => addon.name === 'ember-cli-babel');
let babelOptions = babelAddon.buildBabelOptions(options);
- let extensions = babelOptions.filterExtensions || ['js'];
+ let extensions = babelOptions.filterExtensions || ['js','ts'];
// https://github.com/babel/ember-cli-babel/issues/227
delete babelOptions.annotation;
delete babelOptions.throwUnlessParallelizable;
|
Getting these errors:
The only change is going from
Not sure how ec-typescript is related to these behaviors, but the modules missing are auto-imported.
And I'm very unsure about the Cannot read property exports of undefined error.
I think I need to debug the node build process to get further information, cause this is all I have atm:
Two commits here:
first has green tests
second has all the module load errors (after upgrading ember-cli-typescript)
The text was updated successfully, but these errors were encountered: