Skip to content
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

Missing fourseven:scss #12

Open
lc3t35 opened this issue Mar 1, 2015 · 12 comments
Open

Missing fourseven:scss #12

lc3t35 opened this issue Mar 1, 2015 · 12 comments

Comments

@lc3t35
Copy link

lc3t35 commented Mar 1, 2015

=> Errors prevented startup:                  

   While building the application:

   /Users/****/meteorhunt/client/stylesheets/app.scss:6:9:
   Scss compiler error: file to import not found or unreadable:
   .meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic
   Current dir:
   /Users/****meteorhunt/client/stylesheets/

meteor add fourseven:scss solves the problem

@mountainash
Copy link

With the latest update to Meteor 1.0.4. it seems to have solved this issue. I've run meteor remove fourseven:scss, rebuilt it and it's displaying nicely.

@kaushik1979
Copy link

The import paths are wrong. If you navigate to the .meteor/.../ directory, the scss files start with _. Replace your imports with the following and it should work.

@import '.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/_ionic';
@import '.meteor/local/build/programs/server/assets/packages/meteoric_ionicons-sass/_ionicons';

@Poliuk
Copy link

Poliuk commented May 12, 2015

I'm trying to deploy my App to scalingo but I'm getting this error and I can't deploy...

@dcsan
Copy link

dcsan commented May 26, 2015

With the latest update to Meteor 1.0.4. it seems to have solved this issue. I've run meteor remove fourseven:scss, rebuilt it and it's displaying nicely

@mountainash is this actually true? i still get this error locally every time i reset my project clean, which is not a good sign at all for deployment.

@adamdawkins
Copy link

@dcsan @Poliuk I'm having a problem with deployment (using mup) with this. Even after updating the import statements to @kaushik1979 's recommendation.

I don't think it's to do with the inclusion/exclusion of fourseven:scss at all, I think it's because that .meteor/local/build directory doesn't exist until you've run meteor; but the error occurs during bundling.

Meteor Up: Production Quality Meteor Deployments
------------------------------------------------

Building Started: .
Error while building for mobile platforms: Errors prevented bundling:
While building the application:

Scss compiler error: file to import not found or unreadable:
.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/_ionic

@adamdawkins
Copy link

Ok @Poliuk, I've solved this for deployment I think.

Under the compiler error, it mentioned the current directory:

Current dir: /Users/.../.../meteorhunt/client/stylesheets/

The .meteor folder doesn't exist relative to this folder. I changed the SCSS to:

// Ionic
@import '../../.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/_ionic';
@import '../../.meteor/local/build/programs/server/assets/packages/meteoric_ionicons-sass/_ionicons';

with relative paths at the start, and @kaushik1979's note about the _, and success.

@Poliuk
Copy link

Poliuk commented Jun 16, 2015

I solved it moving both folders from the .meteor to the stylesheets folder

screen shot 2015-06-16 at 12 28 46

@bgrayburn
Copy link

+1 serious limitation for deployment

@nicholasalanbrown
Copy link

This still isn't fixed and fails on deployment - would it be better to import these files from the Ionic CDN? I was only able to fix it by copying the files into my client code and importing them from there instead

danlg pushed a commit to danlg/lgen that referenced this issue Sep 4, 2015
…_ionicons-sass. See meteoric/meteorhunt#12" -> I solved it moving both folders from the .meteor to the stylesheets folder"
@dcsan
Copy link

dcsan commented Sep 6, 2015

this seems to be broken again with meteor 1.2, even after restarting the app multiple times.

$ meteor
[[[[[ ~/dev/rikai/mewechat/app ]]]]]          

=> Started proxy.                             
=> Started MongoDB.                           
=> Errors prevented startup:                  

   While building the application:
   /Users/dc/dev/rikai/mewechat/app/client/css/main.scss:1:9: Scss compiler error: file to import not found or unreadable:
   .meteor/local/build/programs/server/assets/packages/reywood_bootstrap3-sass/bootstrap
   Current dir: /Users/dc/dev/rikai/mewechat/app/client/css/


@zayau
Copy link

zayau commented Sep 26, 2015

local/build directory is not created until you run your meteor app. Just run your app first then add import in your scss file.

@MichaelJCole
Copy link

Deleting those stylesheets was my workaround. I don't think Meteorhunt has been updated to Meteor 1.2 yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants