-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation command #88
Comments
Works for me with ember cli 0.2.7 - what CLI version are you on? |
I don't know why I didn't mention it...
|
kk - haven't had a chance to use |
I could not get it running at all ember install spree-ember-storefront
version: 0.1.11
The `install` command does not take any arguments. You must use `install:npm` or `install:bower` to install a specific package. so I defaulted to using: npm install spree-ember-storefront The behavior is different that described in the guide. And my ember app is not working as prescribed. Any leads? |
you may need to do doing is equivalent, however |
Hey Hugh, So the issue was with my version of ember-cli. I cleared the cache, re-installed everything and the command worked fine. Now watching your talk at Ember London. Quite refreshing, though when I click on the products button at the bottom of the landing page, products page does not load though it seems to work fine on the command line.. Some sort of content security policy violation: Content Security Policy violation: {"csp-report":{"document-uri":"http://localhost:4200/products","referrer":"","violated-directive":"style-src 'self'","effective-directive":"style-src","original-policy":"default-src 'none'; script-src 'self' 'unsafe-eval' localhost:49152 0.0.0.0:49152; font-src 'self'; connect-src 'self' ws://localhost:49152 ws://0.0.0.0:49152 http://0.0.0.0:4200/csp-report; img-src 'self'; style-src 'self'; media-src 'self'; report-uri http://0.0.0.0:4200/csp-report;","blocked-uri":"","source-file":"chrome-extension://gppongmhjkpfnbhagpmjfkannfbllamg","line-number":34,"column-number":15,"status-code":200}}
Content Security Policy violation: {"csp-report":{"document-uri":"http://localhost:4200/products","referrer":"","violated-directive":"style-src 'self'","effective-directive":"style-src","original-policy":"default-src 'none'; script-src 'self' 'unsafe-eval' localhost:49152 0.0.0.0:49152; font-src 'self'; connect-src 'self' ws://localhost:49152 ws://0.0.0.0:49152 http://0.0.0.0:4200/csp-report; img-src 'self'; style-src 'self'; media-src 'self'; report-uri http://0.0.0.0:4200/csp-report;","blocked-uri":"","source-file":"chrome-extension://noojglkidnpfjbincgijbaiedldjfbhh","line-number":50,"column-number":10,"status-code":200}} Have you encountered that? |
you need to downgrade to these versions of Ember & Ember Data:
We don't currently support the latest versions - we're slowly working on it but we really need a champion for it! |
You just update these in your |
My bower.json currently looks like this: {
"name": "madagascar",
"dependencies": {
"ember": "1.13.7",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-data": "1.13.8",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.4.9",
"ember-qunit-notifications": "0.0.7",
"ember-resolver": "~0.1.18",
"jquery": "^1.11.3",
"loader.js": "ember-cli/loader.js#3.2.1",
"qunit": "~1.18.0"
}
} Won't the changes affect the shims and test loader? Sorry, I'm a newbie to Ember so my question may be a little silly.. |
give it a go and find out - this is the |
You are a god! @hhff it is working perfectly. Now contemplating whether to go learn the internal workings of Ember, or figure it out as i go. And and advise regarding swapping out Foundation for my own custom design stylesheets and javascript? Or should I stick with it and until I really get how everything works? |
Ray, Don't mix any old random js with ember. Not recommended practice. Use Hugh, what exactly needs to happen to get this updated? Trying to figure Best, On Tue, Sep 22, 2015 at 10:34 AM, Ray Besiga [email protected]
|
Thanks for the advice @baraka2000 and cheers to @hhff for getting me on this Ember train. Best regards from Kampala! |
@raybesiga - you can absolutely swap out Foundation if you want! We used Foundation because it was the most "plug and play" of the CSS Frameworks. It's meant to be swappable. What i will say - is that Spree Ember is probably the biggest OSS Ember Addon project out there. Ember has got a really steep learning curve - so working with Spree Ember will be pretty tricky. @baraka2000 - we basically need to get this lib working with the latest versions of Ember, Ember Data and Ember CLI. There's a failing PR up for it at the moment - but most of it is done there! |
6 months later, I finally had time to have a play with this again and thanks to your help here @hhff, I got this working perfectly. Amazing! So perhaps once I dig my heels in I might level up enough to actually help on this project. I certainly would like to see this grow, thanks Hugh! For folks following the guides with newer ember-cli versions, the trick is specifying the correct older version of ember and ember-data as outlined by hhff above (in the bower.json file). Everything else worked for me. |
Nice Kevin!
|
This wouldn't work:
I had to use a version number:
Maybe document it? I'm not sure at what level this should be handled.
The text was updated successfully, but these errors were encountered: