Closed jdurand closed 7 years ago
DEPRECATION: Addon files were detected in [...]/node_modules/ember-load-initializers/addon, but no JavaScript preprocessors were found for ember-load-initializers. Please make sure to add a preprocessor (most likely ember-cli-babel) to in dependencies (NOT devDependencies) in ember-load-initializers's package.json.
This warning was fixed in https://github.com/ember-cli/ember-load-initializers/pull/37, and released in 0.6.3.
not ok 1 PhantomJS 2.1 - Global error: SyntaxError: Use of reserved word 'export' at http://localhost:7357/assets/test-support.js, line 14642
I doubt that this issue is caused by ember-load-initializers. The best thing to do would be to inspect dist/assets/test-support.js
at line 14642 and see what addon that is from. Most likely they are not properly transpiling in a custom treeForAddon
hook.
I'm going to close this for now, as I do not believe this is an issue here. Please feel free to continue the conversation as you dig deeper into your various addons...
I have the same problem with the addon 'ember-ted-select' (2.2.2) and Ember 2.13.1. Downgrading to Ember 2.11.0 fixed it.
The error message:
DEPRECATION: Addon files were detected in /node_modules/ember-ted-select/addon
, but no JavaScript preprocessors were found for ember-ted-select
. Please make sure to add a preprocessor (most likely ember-cli-babel
) to in dependencies
(NOT devDependencies
) in ember-ted-select
's package.json
.
Ember-ted-select's package.json already contains '"ember-cli-babel": "^5.1.7"'. Se https://github.com/tedconf/ember-ted-select/blob/master/package.json
Running my tests suite with Ember 2.12.0 produces the following warning:
DEPRECATION: Addon files were detected in
[...]/node_modules/ember-load-initializers/addon
, but no JavaScript preprocessors were found forember-load-initializers
. Please make sure to add a preprocessor (most likelyember-cli-babel
) to independencies
(NOTdevDependencies
) inember-load-initializers
'spackage.json
.... even though
ember-cli-babel
is set as a dependency inpackage.json
forember-load-initializers
.Then, my test suite fails with:
not ok 1 PhantomJS 2.1 - Global error: SyntaxError: Use of reserved word 'export' at http://localhost:7357/assets/test-support.js, line 14642
Locking Ember to 2.11.0 fixes the issue.
My
package.json
:Any hints on where to look at?