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
Fails on Install #8
Comments
I had to make a fix to ember-cli in order to make this blueprint work, but it hasn't yet been released. In the mean time, you can add the following to bower.json "material-design-lite": "1.0.0",
"material-design-lite-src": "https://github.com/google/material-design-lite.git#37286ae139b0ae336a8a7e9ed3b18ace1abff7ed" add this to your package.json 'ember-cli-sass', '^3.3.0', And add this to your app/index.html <link rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons"> |
Hi thanks a lot for your answer. I already tried that because of the last comment in issue #6 but I still get the following error when I run {
"status": 1,
"file": "/Users/nicolas/tmp/playwrite/tmp/tree_merger-tmp_dest_dir-MyoFKbS0.tmp/app/styles/app.scss",
"line": 6,
"column": 9,
"message": "file to import not found or unreadable: material-design-lite\nCurrent dir: /Users/nicolas/tmp/playwrite/tmp/tree_merger-tmp_dest_dir-MyoFKbS0.tmp/app/styles/"
} [string exception] My app.scss looks like the one described in the project: /*@import "_color-definitions";
$color-primary: $palette-teal-500;
$color-accent: $palette-pink-A200;*/
@import "material-design-lite"; Do I have to build something first? |
@truenorth (yಠ,ಠ)y paste valid JSON to add to suggested
|
@truenorth Do you have any news? Or is the ember-cli update coming soon? Thanks for your help. |
The pertinent PR is already merged into ember-cli |
Thanks for the answer. This might be a stupid question but can I use the master branch version of ember-cli already today or should I wait for the release? |
you could use master of ember-cli if you wanted to. It's just a very complex node.js command line tool |
@roosnic1 i think you are missing
in config/environment.js |
@alexjp it's a little worse than that. The current version of ember-cli (1.13.1) only supports a subset of valid bower package name/version descriptions. It barfs at this one
Which is the only means of installing the sass via a blueprint (the version published to npm and bower both include only css). |
@truenorth got it, and i suppose that the new ember-cli will bring that ( with your patch ). By the way, in my development, i upgraded to mdl 1.0.1. ( all seems to worked out fine ) |
@alexjp and @truenorth so my only solution is to wait till the next ember-cli release? Any idea if it's gonna be days or weeks? Thanks |
@roosnic1 i manage to make it work. But you have to do it by hand. The tips here should be enough |
Yay! Looks like MDL v1.0.1 includes the sass source files and individual JS modules. Looks like we may get a reasonable blueprint without waiting for ember-cli now |
I am sorry but this has not worked for me here. Still getting: The |
The way that the "default" blueprint for an addon currently works -- it is either invoked as part of |
Thanks @truenorth that worked perfectly!! |
@mike-north I finally found the time to retry it. It worked with Thanks again for the help. |
Hi I'm working with ember-cli 1.13.1 and I'm trying to install ember-material-lite into a fresh new ember project. I get the following error:
I googled the error and read that it is a silent ember-cli error but my ember-material-lite still doesn't work. I saw in issue #6 that someone has a similar problem.
I'm working with OSX 10.10.4. Can you help me?
The text was updated successfully, but these errors were encountered: