You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything works and all tests are passing, except when running the embroider-safe scenario where this error is thrown:
Error: Assertion Failed: EmberObject.create no longer supports defining computed properties. Define computed properties using extend() or reopen() before calling create().
at assert (http://localhost:4200/assets/test-support.js:233:15)
at initialize (http://localhost:4200/assets/vendor.js:30952:81)
at Class.create (http://localhost:4200/assets/vendor.js:31314:9)
at new Options (webpack://dummy/../rewritten-packages/ember-cp-validations.126a452a/-private/options.js?:39:26)
at Class.buildOptions (webpack://dummy/../rewritten-packages/ember-cp-validations.126a452a/validators/base.js?:130:12)
at Class.init (webpack://dummy/../rewritten-packages/ember-cp-validations.126a452a/validators/base.js?:110:78)
at Class.superWrapper [as init] (http://localhost:4200/assets/vendor.js:23897:22)
at initialize (http://localhost:4200/assets/vendor.js:30988:9)
at Class.create (http://localhost:4200/assets/vendor.js:31312:9)
at InternalFactoryManager.create (http://localhost:4200/assets/vendor.js:13726:25)
I understand that the Error itself EmberObject.create no longer supports defining computed properties. is a known issue, but why am I getting it only during the embroider-safe test scenario?
Do you think I should open this issue on the ember-cp-validations repo instead ? But there really isn't anything wrong with ember-cp-validations v5 on Ember 4.12 with the default test scenario so..?
Any help would be much appreciated 🙏
The text was updated successfully, but these errors were encountered:
Pixelik
changed the title
ember-cp-validations Error only during embroider-safe scenario on Ember 4.12
ember-cp-validations Error only during embroider-safe scenario on Ember 4.12 addon (v1)
Sep 13, 2023
Pixelik
changed the title
ember-cp-validations Error only during embroider-safe scenario on Ember 4.12 addon (v1)
Error: "EmberObject.create no longer supports defining computed properties." - only during embroider-safe scenario on Ember 4.12 addon (v1)
Sep 14, 2023
Pixelik
changed the title
Error: "EmberObject.create no longer supports defining computed properties." - only during embroider-safe scenario on Ember 4.12 addon (v1)Error: "EmberObject.create no longer supports defining computed properties." - only during embroider-safe scenario on Ember 4.12 addon (v1)
Sep 14, 2023
Pixelik
changed the title
Error: "EmberObject.create no longer supports defining computed properties." - only during embroider-safe scenario on Ember 4.12 addon (v1)Error: "EmberObject.create no longer supports.." - only during embroider-safe scenario on Ember 4.12 addon (v1)
Sep 14, 2023
I updated my Ember Addon (v1) to
Ember 4.12
.The addon is using
ember-cp-validations v5
.This is what my
package.json
looks like:Everything works and all tests are passing, except when running the embroider-safe scenario where this error is thrown:
I understand that the Error itself
EmberObject.create no longer supports defining computed properties.
is a known issue, but why am I getting it only during the embroider-safe test scenario?Do you think I should open this issue on the ember-cp-validations repo instead ? But there really isn't anything wrong with
ember-cp-validations v5
onEmber 4.12
with the default test scenario so..?Any help would be much appreciated 🙏
The text was updated successfully, but these errors were encountered: