-
Notifications
You must be signed in to change notification settings - Fork 14
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
Class constructor SetTransform cannot be invoked without 'new' #23
Comments
Here we use this class to build handlebars plugin https://github.com/lifeart/ember-ref-bucket/blob/master/index.js#L18 This is our plugin: https://github.com/lifeart/ember-ref-bucket/blob/master/lib/ref-transform.js#L16 Looks like API of plugins is changed, going to check latest changes |
It could be the root cause: emberjs/ember.js#19704, emberjs/ember.js#19429 |
Looks like this plugin API should work: https://github.com/nlfurniss/ember.js/blob/master/packages/ember-template-compiler/lib/plugins/assert-against-attrs.ts#L23 |
fixed in 3.1.0 thanks to @rwwagner90! |
Also ran into this, seems like issue with ember-cli-htmlbars in a sub dep, at least on my end. stackTypeError: templateCompiler.registerPlugin is not a function at registerPlugins (/Users/iradchenko/workspace/mapgeo-sync/node_modules/ember-maybe-in-element/node_modules/ember-cli-htmlbars/lib/utils.js:142:26) at Object.setup (/Users/iradchenko/workspace/mapgeo-sync/node_modules/ember-maybe-in-element/node_modules/ember-cli-htmlbars/lib/utils.js:201:3) at Class.included (/Users/iradchenko/workspace/mapgeo-sync/node_modules/ember-maybe-in-element/node_modules/ember-cli-htmlbars/lib/ember-addon-main.js:197:36) at Class.superWrapper [as included] (/Users/iradchenko/workspace/mapgeo-sync/node_modules/core-object/lib/assign-properties.js:34:20) at /Users/iradchenko/workspace/mapgeo-sync/node_modules/ember-cli/lib/models/addon.js:497:26 at Array.reduce () at Class.eachAddonInvoke (/Users/iradchenko/workspace/mapgeo-sync/node_modules/ember-cli/lib/models/addon.js:494:24) at Class.included (/Users/iradchenko/workspace/mapgeo-sync/node_modules/ember-cli/lib/models/addon.js:769:10) at Class.superWrapper [as included] (/Users/iradchenko/workspace/mapgeo-sync/node_modules/core-object/lib/assign-properties.js:34:20) at /Users/iradchenko/workspace/mapgeo-sync/node_modules/ember-cli/lib/models/addon.js:497:26 at Array.reduce () at Class.eachAddonInvoke (/Users/iradchenko/workspace/mapgeo-sync/node_modules/ember-cli/lib/models/addon.js:494:24) at Class.included (/Users/iradchenko/workspace/mapgeo-sync/node_modules/ember-cli/lib/models/addon.js:769:10) at Class.superWrapper [as included] (/Users/iradchenko/workspace/mapgeo-sync/node_modules/core-object/lib/assign-properties.js:34:20) at Class.included (/Users/iradchenko/workspace/mapgeo-sync/node_modules/ember-basic-dropdown/index.js:13:26) at Class.superWrapper [as included] (/Users/iradchenko/workspace/mapgeo-sync/node_modules/core-object/lib/assign-properties.js:34:20) For me it's |
looks like ember-cli-htmlbars dependency should be updated: emberjs/ember.js#19429 (comment) to >= 5.6.0 |
I'm getting
Class constructor SetTransform cannot be invoked without 'new'
for ember-beta and up.The text was updated successfully, but these errors were encountered: