PoslinskiNet/ember-pell

pell-editor is not a helper

Closed this issue · 11 comments

When I try to use this on my Ember 3.0 app I get the error 'pell-editor is not a helper'.

I did some quick test @mikejerome and it seems to work fine.

zrzut ekranu 2018-05-06 o 19 25 04

Maybe you need to clean up caches to make sure that addon is properly installed?

Hmmm I just deleted node_modules and reinstalled ember-pell but I keep getting the same error. It seems like it's not installing for me because it doesn't show up in my info tab either.

Could you provide your package.json @mikejerome - I think it may be somehow related with a versions of the packages

I'm getting the same

@wayne-o @mikejerome could you provide repo with minimal setup to reproduce the issue? I've tried with 3.0 and have no issue (also it is tested in the addon). It may be related with the specific version of the Ember.

This looks to be a compatibility issue with the 'pods' layout of an ember project. It works fine in a regular ember project but it fails as soon as usePods: true is set in .ember-cli

I have created a reproduction here: https://github.com/elgordino/ember-pell-pods

This was created with

$ ember --version                                                                                                                                 *[master] 
ember-cli: 2.18.2
node: 8.9.0
os: darwin x64
$ ember new ember-pell-pods      
$ ember install ember-pell

Adding pell-editor in templates/application.hbs works fine. But then converting to pods and moving the file to features/application/template.hbs results in pell-editor is not a helper

@elgordino thanks for the reproduction! I will try to figure it out how to handle it for pods use-case.

Thanks @PoslinskiNet I tried to have a dig into it myself but wasn't able to make much headway, I hope you have luck!

Yes I was also using pods layout.

@mikejerome @elgordino @wayne-o please verify the fix by switching to 1.3.3.

Works perfectly @PoslinskiNet thanks a ton for this!