Closed eaidland closed 8 years ago
@eaidland
Got someone else with this issue - not really sure what's going on but I suspect it's something to do with my upper/lower case user name on github - can you please try installing with case sensitivity in mind:
jspm install github:CharlesPockert\aurelia-bs-grid
and see if you get any difference...
I bet that because it's installed the grid in the lower case directory, that it can't find the compiler plugin in the proper cased directory...
I really need to find out how to change my github username to lower case
You might want to uninstall it first to make sure the directory has been removed
I'm changing my username to lowercase, bear with me!
Thanks! Just let me/us know when It's ready :+1:
@eaidland ok, I think that should do it - hopefully it's not broken, I really don't have time to test at the moment sorry :(
Any chance you have a go for me?
I have a nice shiny new lowercase username! Lesson learnt!
Sure! Installed it again. Got this message. Something I've missed mayby?
Looks like it's still looking for the uppercase variant - can you uninstall it and the compiler repo and try installing using lowercase jspm install github:charlespockert/aurelia-bs-grid
I uninstalled everything:
jspm uninstall github:charlespockert/aurelia-bs-grid
warn Dependency github:charlespockert/aurelia-bs-grid is not an existing primary install.
ok Uninstall complete.
Saw the refs in config and package wasn't removed. So I did it manually. That also goes for the folder.
Ran the jspm install github:charlespockert/aurelia-bs-grid
New folder with content.
config:
"charlespockert/aurelia-bs-grid": "github:charlespockert/aurelia-bs-grid@0.0.3",
"github:charlespockert/aurelia-bs-grid@0.0.3": {
"aurelia-binding": "github:aurelia/binding@0.9.1",
"aurelia-bootstrapper": "github:aurelia/bootstrapper@0.17.0",
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.1",
"aurelia-logging": "github:aurelia/logging@0.7.0",
"aurelia-metadata": "github:aurelia/metadata@0.8.0",
"aurelia-templating": "github:aurelia/templating@0.15.3",
"charlespockert/aurelia-compiler": "github:charlespockert/aurelia-compiler@0.0.7"
},
"github:charlespockert/aurelia-compiler@0.0.7": {
"aurelia-loader": "github:aurelia/loader@0.9.0",
"aurelia-loader-default": "github:aurelia/loader-default@0.10.0",
"aurelia-templating": "github:aurelia/templating@0.15.3"
},
and package
"charlespockert/aurelia-bs-grid": "github:charlespockert/aurelia-bs-grid@^0.0.3",
gulp build then watch.
So where the uppercase comes from I've got no idea
Ah....
aha! nice spot! Fixing...
@eaidland Right, sorry for all the messing about, lowercase usernames from now on and forever!! I've re-released as v0.0.3
@charlespockert Np! Just glad that you update :+1: Uninstalled, reinstalled... Saw there were still old refs in the dist folder
Which writes uppercase in the grid.js
Damn, didn't build it just edited the files!
@eaidland Ok, this time... re-released again. Absolute nghtmare, thanks for your patience - I'm not sure why github even allows you to install a mixed case repo using the wrong case....!
Hehe no worries. Will reinstall and test :+1:
Strange.... Don't see any refs with uppercase...
config:
"charlespockert/aurelia-bs-grid": "github:charlespockert/aurelia-bs-grid@0.0.3",
"github:charlespockert/aurelia-bs-grid@0.0.3": {
"aurelia-binding": "github:aurelia/binding@0.9.1",
"aurelia-bootstrapper": "github:aurelia/bootstrapper@0.17.0",
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.1",
"aurelia-logging": "github:aurelia/logging@0.7.0",
"aurelia-metadata": "github:aurelia/metadata@0.8.0",
"aurelia-templating": "github:aurelia/templating@0.15.3",
"charlespockert/aurelia-compiler": "github:charlespockert/aurelia-compiler@0.0.7"
},
"github:charlespockert/aurelia-compiler@0.0.7": {
"aurelia-loader": "github:aurelia/loader@0.9.0",
"aurelia-loader-default": "github:aurelia/loader-default@0.10.0",
"aurelia-templating": "github:aurelia/templating@0.15.3"
},
Head explodes
Ok going to sync with my local and do a search in the src....
Hehe. I'll have a look and see if there are any refs in code. At the moment I've only found functions, which shouldn't matter...
There's one in the compiler repo: that might be it:
Sytem.register(["github:CharlesPockert/aurelia-compiler@0.0.7/index"], function($__export) {
2 return { setters: [function(m) { for (var p in m) $__export(p, m[p]); }], execute: function() {} };
3 });
Lets have another go :+1:
Going to do a fresh install on skeleton and see how I get on - this worked on my machine though, what OS are you running?
Win 10
8.1 here, maybe worked because I installed with the right case - checking now
@eaidland ok - sorted, try deleting the whole jspm_packages/github/charlespockert
folder and make sure you clean your config.js of all traces of my name and then try the reinstall
It's weird, jspm lets you install with the wrong case but won't let you uninstall with the wrong case and the config.js gets into a mess..
Now I wondering if there's some cache thing going on. Can't understand why the old refs are there..
Maybe I missed a build folder - are you using AMD format or something else?
?
System.config({ defaultJSExtensions: true, transpiler: "babel", babelOptions: { "optional": [ "es7.decorators", "es7.classProperties", "runtime" ] },
@eaidland Ah yeah, it looks like it might be that JSPM caches your files for a version (to save having to download them again) so you are just getting the incorrect build files again and again
https://github.com/jspm/registry/issues/295#issuecomment-86203103
I've released v0.0.4 - hopefully because it's a new release it won't be in your cache, give it a try
You can kill the cache here on windows: C:\Users\<username>\AppData\Local\.jspm\packages\github\
jspm cache-clear removed folder, config refs and package refs jspm install github:charlespockert/aurelia-bs-grid Saw the new 0.4 was added gulp build then watch.
Maybe I need to add the css ref?
edit: Nope.. the css ref didn't help
@eaidland Ah this one I know the answer to, install system js CSS plugin as so
jspm install css=github:systemjs/plugin-css
But it's already there from earlier... "css": "github:systemjs/plugin-css@0.1.17",
And now "systemjs/plugin-css": "github:systemjs/plugin-css@0.1.17",
Well it worked... but what's the standard?
It should be installed as css
- when you import stuff it uses the file extension as the name of the plugin - I'm not sure what it's supposed to be as standard...
I assume css
as otherwise I can't see how systemJS is going to know what to load unless you write import 'some-css-file.css!systemjs/plugin-css'
?
@eaidland so I take it it's actually working now?!
Ok... so do you need to update something so that we could use the standard "css": "github:systemjs/plugin-css@0.1.17" instead of "systemjs/plugin-css": "github:systemjs/plugin-css@0.1.17".... I don't know what's the standard.
It's working :+1: Woohoo :boom:
Nice, thanks for all the help resolving it :)
Hopefully deploys will go a bit smoother from now on!
If possible could @eaidland email me zip (or 7zip) copy of working directory so I can do a compare and see why my win10 version doesn't work. jrt@gtz.com. thanks, John
Hi Charlespockert This solution worked for me. Thank you so much I want to implement sorting colums along with filtering. do we need to install any other plugin for this
how to bind sorting to the columns?
Can any one help to add sorting to the columns in Charlespockert grid
Ran the "jspm install github:charlespockert/aurelia-bs-grid"
And then I add the plugin:
When I load up my page chrome console log:
Why is it looking for the compiler when it says in the install that it has been removed? Removing package files for github:charlespockert/aurelia-compiler@0.0.7
config.js:
package.json: