-
Notifications
You must be signed in to change notification settings - Fork 33
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
[[email protected]] Scss compiler error: file to import not found or unreadable #16
Comments
Any idea? |
Also getting the same error now that 1.2.0.1 is released. As a work around I've copied the 2 needed files from the old build dir to my /public dir (but obviously this is not ideal as it will outdate as it misses updates). |
This is the reason: https://github.com/meteor/meteor/wiki/Breaking-changes-in-Meteor-1.2#build-tool-and-package-improvements. Change this line to We will update the packages accordingly. |
Any news on this? I tried but havent succeeded.. |
@gwendall is there an update on this? |
what ive done in the mean time @austingayler is to put all my ionic and On Mon, Sep 28, 2015 at 7:41 AM austingayler [email protected]
|
+1. Would be great to have this updated for Meteor's new build system in 1.2 as soon as reasonably possible! |
@gwendall merely changing that line doesn't fix the problems |
I have not been having this problem, but a few coworkers have (maybe windows/osx problem?--I have windows). They both solved it different ways:
and
|
Thanks @austingayler. Working for me now. That was taking far too long to fix. |
@elie222 sweet, glad to help. |
This is due to changes in meteor 1.2 and the latest version of fourseven:scss (note: there are errors in 3.3.3, better use 3.4.0-beta1) , besides caching, this supports the cross-package imports similar to the updated less and stylus packages. The files need to be added to the client using addFiles with isImport flag set to true (although not necessary for files that are prefixed with an underscore) |
Thanks @austingayler. That really sucked. I don't even like having windows being my primary dev box, but I didn't have the issue and my partner was having trouble with his Mac. That was frustrating! |
This is still broken when deploying to heroku, scalingo etc. Works on the regular meteor deploy though. |
@hashwin, see if this package works (please read the instructions on the package page): |
@sebakerckhof Yeah, that worked to compile, but the navigation animations and ionicons seem to be broken. Looks like it works if you make the same changes you made, but using this repo as a source rather than https://github.com/driftyco/ionic |
Ow, I think I forgot to add the ionicons font files. Don't know why the animations don't work though. This could be a change between ionic 1.0-beta13 used here and 1.1.0 that I use. |
I've published a new version that fixes icons. |
@sebakerckhof I'm using meteoric:ionic & trying to replace meteoric:ionic-sass & meteoric:ionicons-sass which bugs me upon compiling my app |
@daveeel I have created a fork of this repo with @sebakerckhof's changes here: https://atmospherejs.com/hashwin/ionic-sass and https://atmospherejs.com/hashwin/ionicons-sass |
@hashwin Used your fork, works great 👍 |
For some weird reason, I was getting a { } between the file path (Meteor 1.2) :
This is the only thing that worked for me |
Thanks @insaneinc01 downgrading to 3.2.0 (from 3.3.3_3) worked for me as well. |
Simply downgrading to |
This "Simply downgrading to fourseven:scss@=3.2.0 worked wonders for me. I'm using Meteor 1.2.0.2. Thanks @insaneinc01 and all on this thread for debugging. I've been banging my head against this for a long while." AND Commenting Import stmt then putting it back worked for me. Thanks Guys. |
Oh wow, thanks for this thread. Downgrading worked for me. I wished I had seen this a couple days earlier though. I ended up just building a native app instead but at least for my next one maybe i'll built it with this again. |
Thanks for @insaneinc01 tip, downgrading with Cheers! |
I upgraded to Meteor 1.2+ and tried the following and nothing worked
The issue is when it builds, Meteor no longers inserts those scss files for ionic and ionicon. When i navigate to the folders, those files arent there too. While i have the public cdn link for ionicons which worked, I dont have the same public link for Ionic.sass. |
A |
@mervynteo see if using these repos works? |
@hashwin 's solution works 👍 |
cool ...hashwin's packages works.. thanks alot @hashwin! |
Thanks! @hashwin the packages work perfect...a real life saver! 👍 |
notes from here meteoric#16
Will confirm, using |
Thank you @insaneinc01. The downgrade works perfectly! |
@hashwin thanks your packages work as specified! |
thanks @hashwin ! |
- Atualizado fourseven:scss para a versão 2.0 pois o default dá erro no start: meteoric/ionic-sass#16
It seems that the package assets are handled differently in the upcoming meteor 1.2 release.
I get this error no matter how often I restart.
It seems that meteor does not copy the package anymore to the assets folder here:
.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass
The meteor upgrade notes mention a new way to specify assets for packages. See here:
https://quip.com/RXFlAk9Rc2xI
The text was updated successfully, but these errors were encountered: