adopted-ember-addons / ember-notify

Notification messages for your Ember.js app
MIT License
264 stars 100 forks source link

<emberNotify::Message> is not a component and doesn't support block parameters #196

Closed FutoRicky closed 1 year ago

FutoRicky commented 1 year ago

I am getting this issue when upgrading from version 5.3.0. This is probably not an issue with the addon itself, but I am unable to resolve this issue. Any idea as to why this error message is appearing? My ember-cli version is 3.26.1, could this be the issue?

Thank you in advance.

btecu commented 1 year ago

Should just be <EmberNotify />. What exactly are you trying to do?

FutoRicky commented 1 year ago

That's my issue, I changed all the ember-notify block parameters to <EmberNotify /> and I keep getting this error

FutoRicky commented 1 year ago

This is the complete error:

Template Compiler Error (TemplateCompiler) in ember-notify/templates/components/ember-notify.hbs

Compile Error: <emberNotify::Message> is not a component and doesn't support block parameters

Stack Trace and Error Report: /tmp/error.dump.0b95dab4f007e05c8c34d58433fe3c0d.log
Template Compiler Error (TemplateCompiler) in ember-notify/templates/components/ember-notify.hbs

Compile Error: <emberNotify::Message> is not a component and doesn't support block parameters

Stack Trace and Error Report: /tmp/error.dump.534f3180e2e1b0b1e201747aedebd017.log

It seems the error is from the addon itself, but when I go into it, it's not using block parameters.

FutoRicky commented 1 year ago

The issue is the app was not octane enabled.