1

How do I track down where this error is coming from? I searched my own codebase, and could not find anywhere that I was using the {{array}} helper. It happens during an acceptance test.

You attempted to overwrite the built-in helper "array" which is not allowed. Please rename the helper.

I am attempting to update some of my Ember dependencies, which surfaced this problem.

1 Answer 1

10

In the end, I did ember build and searched the contents of dist for helpers/array. This revealed an import from ember-composable-helpers:

;define("dummy/helpers/array", ["exports", "ember-composable-helpers/helpers/array"], function (_exports, _array) {

I was using a 2.x version of ember-composable-helpers. In version 3.0, the array helper was removed from the addon, since it became a standard helper provided by Ember itself.

Updating my ember-composable-helpers version to 3.x solved the problem.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you for explaining the procedure! following it allowed me to know the error (though the overwrite was from my own code :D)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.