englue/meteor-bootstrap3-sass

Does not work anymore with meteor 0.9.2.2

Closed this issue · 3 comments

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've been having troubles with similar issues, but i've got past this by starting over from scratch. create a new meteor app, then re-add this package and it runs fine. there is a hiccup on initial load, it seems unable to find the main _bootstrap.scss file buried in the .meteor folder.

i do wonder how this will run in production mode if it is unable to locate that _bootstrap.scss file on first page load though. will i need to file a bug report for that i wonder?

@kellertobi91: I don't know what's causing that error, but I don't see any evidence that it's related to this package.

@the0ther: After installing this package, it does appear that sometimes the scss compiler can't find _bootstrap.scss on first run. Restarting the meteor app appears to fix the problem. This should not be a problem in a bundled app (created with meteor build) since the bundling process converts all SCSS files to CSS.