englue / meteor-bootstrap3-sass

Meteor package for Bootstrap 3 with Sass support
GNU Lesser General Public License v3.0
40 stars 15 forks source link

Update to Meteor 1.2 breaks package. #28

Closed chasemb closed 8 years ago

chasemb commented 8 years ago

I receive the following error that cannot be fixed with a restart.

While processing files with fourseven:scss (for target web.browser):
/client/styles/style.scss: Scss compiler error: File to import:
.meteor/local/build/programs/server/assets/packages/reywood_bootstrap3-sass/bootstrap
not found. Import origin: /client/styles/style.scss
thebarty commented 8 years ago

just ran into the same problem

reywood commented 8 years ago

Fixed in newest release. Note that the import statement has changed. Update your SCSS files to use:

@import '{reywood:bootstrap3-sass}/bootstrap';
dyaa commented 8 years ago

@reywood What if i want import let's say mixins.scss only ? I was doing it with

@import ".meteor/local/build/programs/server/assets/packages/reywood_bootstrap3-sass/assets/stylesheets/bootstrap/mixins";

and i was trying

@import "{reywood:bootstrap3-sass}/bootstrap/mixins";

but now the file is not found.

reywood commented 8 years ago

In that case, you would use:

@import '{reywood:bootstrap3-sass}/assets/stylesheets/bootstrap/mixins';
AVapps commented 8 years ago

Doesn't work in my .sass file. @import '{reywood:bootstrap3-sass}/bootstrap' or @import {reywood:bootstrap3-sass}/bootstrap throws:

Sass compiler error: file to import not found or unreadable: {reywood:bootstrap3-sass}/bootstrap Current dir:

reywood commented 8 years ago

@Jahdrien: What version of Meteor are you using?

AVapps commented 8 years ago

$ meteor --version Meteor 1.2.0.2

reywood commented 8 years ago

Could you try cloning and running this meteor app?

AVapps commented 8 years ago

Done ! yummy-octo-succotash works normally.

reywood commented 8 years ago

I recommend comparing your .meteor/versions file to the one in yummy-octo-succotash.

AVapps commented 8 years ago

All the same. Now I have this error: "Scss compiler error: invalid top-level expression". Seems it tries to parse .sass files as .scss...

AVapps commented 8 years ago

fourseven/meteor-scss#120 sass/node-sass#1192

reywood commented 8 years ago

@Jahdrien Since this is a different issue than the one this issue was originally opened for, would you mind creating a new issue with the specifics of the .sass file problem and the upstream issues that need to be resolved?

AVapps commented 8 years ago

Done ! #31

reywood commented 8 years ago

Thanks!