spree-ember icon indicating copy to clipboard operation
spree-ember copied to clipboard

Cannot read property 'length' of undefined`

Open tomasbasham opened this issue 9 years ago • 10 comments

Having setup the project as documented and transitioning to either products or checkout I am getting the following error:

Error while processing route: spree.products.index Cannot read property 'length' of undefined

I am using: ember-cli 1.13.1 ember-data 1.0.0-beta.18

tomasbasham avatar Jul 14 '15 17:07 tomasbasham

Thanks @tomasbasham - currently we only support the versions of ember & ember data that ship with Ember CLI 0.2.7, but we're working on it!

hhff avatar Jul 14 '15 17:07 hhff

Thanks for the advice regarding the lower version of ember-cli . This helped me alot. I would recommend to add this detail into the your guide.

BTW: When are you planing to upgrade?

gerardo-navarro avatar Jul 30 '15 16:07 gerardo-navarro

thanks @gerardo-navarro ! I've been putting it off because I want to support the latest...

Planning to upgrade around 18th of August!

hhff avatar Jul 30 '15 17:07 hhff

I'll be sure to provide a clean upgrade path...

hhff avatar Jul 30 '15 17:07 hhff

This has me stumped too as the latest ember cli wants to install latest ember and ember data. Will give Ember CLI 0.2.7 a try!

baraka2000 avatar Sep 18 '15 14:09 baraka2000

I'm sorry all - I have plans to get to this before the end of October. understand it's a pain point but finding it very hard to find time for it <3

hhff avatar Sep 18 '15 15:09 hhff

if someone wants to pickup here I would be enormously thankful https://github.com/hhff/spree-ember/pull/89

hhff avatar Sep 18 '15 15:09 hhff

@baraka2000 you can use the latest ember-cli, and adjust the ember / ember-data versions in your bower.json

hhff avatar Sep 18 '15 15:09 hhff

I would love to contribute, if only I knew what needed to be done...

On Fri, Sep 18, 2015 at 11:32 AM, Hugh Francis [email protected] wrote:

if someone wants to pickup here I would be enormously thankful #89 https://github.com/hhff/spree-ember/pull/89

— Reply to this email directly or view it on GitHub https://github.com/hhff/spree-ember/issues/91#issuecomment-141483929.

baraka2000 avatar Sep 19 '15 02:09 baraka2000

awesome thanks Hugh!

On Fri, Sep 18, 2015 at 11:38 AM, Hugh Francis [email protected] wrote:

@baraka2000 https://github.com/baraka2000 you can use the latest ember-cli, and adjust the ember / ember-data versions in your bower.json

— Reply to this email directly or view it on GitHub https://github.com/hhff/spree-ember/issues/91#issuecomment-141485232.

baraka2000 avatar Sep 19 '15 02:09 baraka2000