=> Errors prevented startup:
While processing files with fourseven:scss (for target web.browser):
/client/stylesheets/main.scss: Scss compiler error: File to import: /node_modules/bootstrap/dist/css/bootstrap.css not found in file:
/Users/sergiotapia/Work/tiki/{}/client/stylesheets/main.scss
While processing files with fourseven:scss (for target web.browser):
/client/stylesheets/main.scss: Scss compiler error: File to import: /node_modules/bootstrap/less/bootstrap.less not found in file:
/Users/sergiotapia/Work/tiki/{}/client/stylesheets/main.scss
Meteor can’t import non-javascript assets from node_modules right now. There are several workarounds including using symlinks and this is supposed to be fixed in 1.3.1 release. https://github.com/meteor/meteor/issues/6037
There are other forum posts on this issue you can search for as well.
Here is a working demo app: https://github.com/juliancwirko/meteor-bootstrap-postcss-test
Meteor 1.3 with Bootstrap 4 with Scss from Npm. This is an experiment, but as far as I know everything works with Bootstrap Btw. there is Meteor 1.3.1 released but I don’t know if there will be ever possibility to import .scss files like that. .scss was never in the Meteor’s core so it could be hard. On the other hand it needs just access to the node_modules and then fourseven:scss should be able to handle it. So maybe this is simpler than I tought. Anyway, there is Meteor 1.3.1 and it seems it is not solved in this release (correct me if I’m wrong).
Hi, there is Meteor 1.3.2 (it should be available by meteor update very soon) so this PostCSS based solution is not needed. I have another repo which uses standard Scss compiler from fourseven:scss package and Meteor 1.3.2: https://github.com/juliancwirko/meteor-bootstrap-npm-test