meteor-react-ionic-basic icon indicating copy to clipboard operation
meteor-react-ionic-basic copied to clipboard

clean the scss import

Open rdewolff opened this issue 10 years ago • 2 comments

Hi @samcorcos

Thanks for sharing your work.

Am wondering how we could "clean" the following scss file import :

https://github.com/samcorcos/meteor-react-ionic-basic/blob/master/client/styles/styles.scss#L1-L2

I just ran a meteor update and the @import are not working anymore.

Any idea how to do that properly and how to fix the error?

Error :

=> Errors prevented startup:

   While processing files with fourseven:scss (for target web.browser):
   /client/views/index.scss: Scss compiler error: File to import:
   {}/client/views/.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic not found in file:
   /Users/rdewolff/Projets/meetme-mobile/{}/client/views/index.scss


   While processing files with fourseven:scss (for target web.cordova):
   /client/views/index.scss: Scss compiler error: File to import:
   {}/client/views/.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic not found in file:
   /Users/rdewolff/Projets/meetme-mobile/{}/client/views/index.scss

rdewolff avatar Oct 31 '15 14:10 rdewolff

Hmm, yeah we'll have to change that to something else. Perhaps the best solution is to copy-paste it into the project directory.

On Sat, Oct 31, 2015 at 10:25 AM Romain de Wolff [email protected] wrote:

Hi @samcorcos https://github.com/samcorcos

Thanks for sharing your work.

Am wondering how we could "clean" the following scss file import :

https://github.com/samcorcos/meteor-react-ionic-basic/blob/master/client/styles/styles.scss#L1-L2

I just ran a meteor update and the @import are not working anymore.

Any idea how to do that properly and how to fix the error?

Error :

=> Errors prevented startup:

While processing files with fourseven:scss (for target web.browser): /client/views/index.scss: Scss compiler error: File to import: {}/client/views/.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic not found in file: /Users/rdewolff/Projets/meetme-mobile/{}/client/views/index.scss

While processing files with fourseven:scss (for target web.cordova): /client/views/index.scss: Scss compiler error: File to import: {}/client/views/.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic not found in file: /Users/rdewolff/Projets/meetme-mobile/{}/client/views/index.scss

— Reply to this email directly or view it on GitHub https://github.com/samcorcos/meteor-react-ionic-basic/issues/3.

samcorcos avatar Oct 31 '15 15:10 samcorcos

If you add the meteoric packages without explicitly adding the fourseven:scss package (i.e. meteor add meteoric:ionic-sass meteoric:ionicons-sass) a meteor update will not update the fourseven:scss package (unless you explicitly provide a new version).

meteoric:ionic-sass relies on a specific version of fourseven:scss.

pors avatar Nov 16 '15 15:11 pors