englue / meteor-bootstrap3-sass Goto Github PK
View Code? Open in Web Editor NEWMeteor package for Bootstrap 3 with Sass support
License: GNU Lesser General Public License v3.0
Meteor package for Bootstrap 3 with Sass support
License: GNU Lesser General Public License v3.0
Is this still dependent on scss 0.8.4? It's breaking for me in Meteor 0.8.2, scss is up to 0.9.3.
I'm getting an error when using your Bootstrap Sass package. I'm assuming this is because they're not coming out of the public folder? Is there a way to override the url variable?
Header:
Remote Address:127.0.0.1:3000
Request URL:http://localhost:3000/packages/reywood_bootstrap3-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.woff
Request Method:GET
Status Code:200 OK
connection:keep-alive
content-type:text/html; charset=utf-8
date:Sun, 12 Oct 2014 23:08:24 GMT
transfer-encoding:chunked
vary:Accept-Encoding
While building the application:
/home/janist/node/xxx/client/styles/styles.scss:1:9: Scss compiler error: file to import not found or unreadable: {reywood:bootstrap3-sass}/bootstrap
Current dir: /home/janist/node/xxx/client/styles/
Any ideas?
Any chance of upgrading the current version of Bootstrap to 3.3.5? I'm having issues with the breadcrumbs not displaying properly, which is fixed in twbs/bootstrap-sass#919
For some reason dropdown buttons don't seem to be working for me. Alert close buttons etc do though. Anyone have issues with this or an idea why this might be happening?
Output from console:
$ meteor add reywood:bootstrap3-sass
=> Errors while adding packages:
While selecting package versions:
error: conflict: constraint fourseven:[email protected] is not satisfied by 2.0.1_5.
Constraints on fourseven:scss come from:
<top level>
reywood:[email protected]
Fresh install in fresh repository/project (also old install in old repository) throws following error:
(Using Meteor 0.9.2.2, Ubuntu 14.04 64 Bit on Intel)
/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
throw(ex);
^
TypeError: Cannot read property 'name' of undefined
at /home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:369:34
at Function..each..forEach (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:87:22)
at /home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:362:7
at Array.forEach (native)
at Function..each..forEach (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at compileUnibuild (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:361:5)
at /home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:879:27
at Array.forEach (native)
at Function..each..forEach (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at Object.compiler.compile (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:878:5)
at /home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/bundler.js:1767:26
at /home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:186:11
at [object Object]..extend.withValue (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
at /home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:183:27
at [object Object]..extend.withValue (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
at /home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:181:16
at [object Object]..extend.withValue (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
at Object.capture (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:172:21)
at Object.exports.bundle (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/bundler.js:1689:31)
at bundleApp (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/run-app.js:469:28)
at [object Object]..extend.runOnce (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/run-app.js:487:24)
at [object Object]..extend._fiber (/home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/run-app.js:673:28)
at /home/myusername/.meteor/packages/meteor-tool/.1.0.31.13ydl8e++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/run-app.js:360:12
I'm on meteor 1.0, and I've installed bootstrap3-sass
using meteor add reywood:bootstrap3-sass
. It looks like it's worked correctly.
Then I've added this line to the top of my main .scss
file:
@import '.meteor/local/build/programs/server/assets/packages/reywood_bootstrap3-sass/bootstrap';
But that file doesn't appear to exist.
And when I look in my .meteor
folder, I can't find it there or anywhere else.
Any idea what's up?
Hey, forgive my ignorance, it's not clear how we link to Bootstrap's js scripts using this package. Please clarify.
Thank you :)
When making a project which is a sub-folder of a larger site, font assets can't be loaded
I added reywood:bootstrap3-sass
to my project and upon running meteor
I get this now:
=> Errors prevented startup:
While building the application:
client/styles/site.sass: Scss compiler error: undefined
/[...]/client/styles/site.sass:1: error: file to import not found or unreadable: "../../.meteor/local/build/programs/server/assets/packages/reywood:bootstrap3-sass/bootstrap"
When browsing to .meteor/local/build/programs/server/assets/packages/
I can only find a folder called reywood_bootstrap3-sass
- renaming the import seems to fix the issue.
Hello, when I'm trying to use in my sass code one of the mixins included in bootstrap, there is this error:
/client/styles/helpers/buttons.scss: Scss compiler error: no mixin named button-variant
Of course I am importing @import '{reywood:bootstrap3-sass}/bootstrap';
before @import 'helpers/buttons';
Why I can't use it?
Thanks.
With just meteor-bootstrap3-sass, dropdowns work great.
After adding one of the bootswatch theme packages (tested specifically with bootstrap-flatly, bootstrap-readable, and bootstrap-united), dropdown menus no longer toggle.
(I realize this may be a problem with those packages, not this one)
Hey there, it looks like the Glyphicon font is missing in the new meteor release. I think with the new Meteor path naming convention. I think you need to change $icon-font-path
for '/packages/reywood_bootstrap3-sass/assets/fonts/bootstrap/';
I can't seem to debug the source sass on my dev machine. Chrome inspector is set up to read source maps but all I'm seeing is the concatenated css file. Is this a known issue?
Thanks,
db
Hey Sean,
what would be the steps required for updating this package with the latest version of bootstrap? I like not lagging too much behind in terms of dependencies when there's no actual reason for it.
Could the steps be automated in some way so that we can easily and without delay track bootstrap releases?
How can I get involved and make this happen myself? Any pointers, comments?
Cheers,
Denis
I noticed that the responsive embed component is missing from your package. Is there a reason for that?
libsass bug:
Mentioned in bootstrap-sass issue:
Waiting on:
I recently upgraded this package from 3.3.4_4 to 3.3.5_1 and now I am getting
While building the application:
client/styles/application.scss.css: missing '}' near line 186:3
I removed all of the scss from the app except what was in this package. So I am pretty sure it is coming from here.
❤️
Please update for released Meteor 0.9
Instructions say to add:
@import '.meteor/local/build/programs/server/assets/packages/reywood_bootstrap3-sass/bootstrap';
There is no such file after adding the package so the import fails.
Hello,
I've run meteor add reywood:bootstrap3-sass several times using webstorm on windows 10 and the process keeps pausing at the "Extracting" point. Can you please advise me?
Thanks,
bsmall512
Repo to reproduce here
There seems to be a bug with when or how the files are copied into the .meteor
folder. It also occurs when running meteor reset
.
It's fixed by starting meteor a second time.
Full console output:
$ meteor create meteor-bootstrap-sass-bug
meteor-bootstrap-sass-bug: created.
To run your new app:
cd meteor-bootstrap-sass-bug
meteor
$ cd meteor-bootstrap-sass-bug/
/meteor-bootstrap-sass-bug$ meteor add reywood:bootstrap3-sass
added fourseven:scss at version 0.9.5
added reywood:bootstrap3-sass at version 3.2.0_2
reywood:bootstrap3-sass: Bootstrap 3 with Sass support
/meteor-bootstrap-sass-bug$ rm meteor-bootstrap-sass-bug.css
/meteor-bootstrap-sass-bug$ touch meteor-bootstrap-sass-bug.sass
/meteor-bootstrap-sass-bug$ echo '@import ../../.meteor/local/build/programs/server/assets/packages/reywood_bootstrap3-sass/_bootstrap' >> meteor-bootstrap-sass-bug.sass
/meteor-bootstrap-sass-bug$ meteor
[[[[[ /tmp/meteor-bootstrap-sass-bug ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:
While Building the application:
meteor-bootstrap-sass-bug.sass: Scss compiler error: undefined
/tmp/meteor-bootstrap-sass-bug/meteor-bootstrap-sass-bug.sass:1: error: file to import not found or unreadable: "../../.meteor/local/build/programs/server/assets/packages/reywood_bootstrap3-sass/_bootstrap"
=> Your application has errors. Waiting for file change.
^C
/meteor-bootstrap-sass-bug$ meteor
[[[[[ /tmp/meteor-bootstrap-sass-bug ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
^C
/meteor-bootstrap-sass-bug$ meteor reset
Project reset.
/meteor-bootstrap-sass-bug$ meteor
[[[[[ /tmp/meteor-bootstrap-sass-bug ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:
While Building the application:
meteor-bootstrap-sass-bug.sass: Scss compiler error: undefined
/tmp/meteor-bootstrap-sass-bug/meteor-bootstrap-sass-bug.sass:1: error: file to import not found or unreadable: ".meteor/local/build/programs/server/assets/packages/reywood_bootstrap3-sass/_bootstrap"
=> Your application has errors. Waiting for file change.
^C
/meteor-bootstrap-sass-bug$ meteor
[[[[[ /tmp/meteor-bootstrap-sass-bug ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
Please allow consumers of your package to choose their own sass implementation (there are multiple out there) and don't use/imply fourseven:scss directly
Failed to install package issue -
meteor-scss: updating npm dependencies -- node-sass...
=> Errors while scanning packages:
While building package scss
:
error: no such package: 'spark'
As far as I know spark is not exists anymore
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
Hi there, I am new to Meteor (coming from PHP/Laravel world) and I'd be super keen to see/help the documentation for this package include some basics for newbies which get them over the hump:
* Where do I put my .scss file in my barebones project?
* How is the parsing of the .scss into .css triggered?
* How do I control where the resulting .css ends up?
:-)
Since Meteor 1.4.1, fourseven:[email protected]
is required. But reywood:bootstrap3-sass
pins fourseven
to 3.4.3, which breaks the package resolver. Could you please update this package to the most recent fourseven:scss
version? Thanks.
I also noted that if I try to set this package to version 3.3.7_1, Meteor automatically wants to downgrade it to 3.3.5_1, if I try to install fourseven:[email protected]
. As soon as I revert fourseven to version 3.8.1, I can upgrade reywood:bootstrap3-sass
to 3.3.7_1 again. Strange. Why is this so?
Atmosphere bug:
Since version 3.3.5_1 .sass files compilation is broken. .sass files are parsed as .scss files. This issue is related to a bug in latest node-sass release.
Downgrade fourseven:scss package to v3.2.0 as a temporary workaround :
meteor add fourseven:scss@=3.2.0
Meteor-Community-Packages/meteor-scss#120
sass/node-sass#1192
Hi guys,
I am using reywood:bootstrap3-sass 3.3.5_2
with fourseven:scss 3.3.3_3
and the glyphicons are NOT working. Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.