charlespockert / aurelia-bs-grid

Aurelia and Bootstrap powered datagrid control
MIT License
45 stars 21 forks source link

Issue in promises while using grid #60

Closed Santosh-9890 closed 8 years ago

Santosh-9890 commented 8 years ago

Hello Charles,

Have a look at below given issue,

image

Kindly revert for further clarifications and queries.

Regards, Santosh

charlespockert commented 8 years ago

Hi Santosh, this is due to the grid not working with the latest version of Aurelia, new release just out here: https://github.com/CharlesPockert/aurelia-bs-grid/releases/tag/0.0.3

Santosh-9890 commented 8 years ago

No I tried this too, still not working. getting same error. Do me a favor test it and then release it.

charlespockert commented 8 years ago

Hi @Santosh-9890, I have tested, works fine with the latest version of skeleton-navigation

Are you sure you are installing the latest release 0.0.3 and using the latest version of the Aurelia libs?

In your screenshot it looks like you are running an older version of Aurelia - the APIs have changed since and the configuration object no longer uses the globalizeResources method which is probably why you are getting the error

I cloned a fresh skeleton-navigation repo and installed the plugin and got the following:

image

Santosh-9890 commented 8 years ago

Hi Charles, Thanks for pointing out in the right direction. I have done the changes as told and the error with global resources is no longer there. But now it says that I need a file

"jspm_packages/github/CharlesPockert/aurelia-compiler@0.0.7.js"

I searched for the same in the folder aurelia-bs-grid-0.0.3 that you had provided but could not locate the same. Can you please help me with this. Its a bit urgent. Attaching screenshot

image

charlespockert commented 8 years ago

Hi @Santosh-9890 I've just fixed this and re-released v0.0.3 - the issue was with my github username and the fact that some users were installing with a lower-case syntax

e.g.

jspm install github:charlespockert/aurelia-bs-grid

vs

jspm install github:CharlesPockert/aurelia-bs-grid

As this is causing many issues, I've changed my username to lower case. If you uninstall the grid and compiler and re-install it, (ensuring you are using lower-case), it should resolve the issue, but please note, I'm not able to check it thoroughly at the moment

charlespockert commented 8 years ago

You may also require the systemjs css plugin which can be installed using the following jspm command:

jspm install css=github:systemjs/plugin-css

It needs to be aliased as css to work correctly with Aurelia

charlespockert commented 8 years ago

I've updated to release 0.0.4 because the jspm cache was causing people issues with the mixed case