particle4dev / meteor-sass

WARNING: This project is outdated and not maintained anymore - SCSS for meteor
4 stars 1 forks source link

Can't deploy Meteor 0.9.1.1 project to Heroku that uses the particle4dev:sass package #10

Closed stuartha13 closed 10 years ago

stuartha13 commented 10 years ago

I was messing around with SCSS on the leaderboard Meteor example. I updated Meteor to 0.9 and since then I haven't been able to deploy to Heroku, but only if I include this package. Running the site locally works fine - it's only the Heroku deploy that breaks.

I've been able to replicate the issue by simply taking the leaderboard example, adding particle4dev:sass, changing leaderboard.css and renaming it to leaderboard.scss, and deploying that to Heroku using this buildpack: https://github.com/djhi/heroku-buildpack-meteorite.git

This is the error message that I am getting. I'm having an identical error when using the fourseven:scss Meteor package:

Done installing smart packages
       Building meteor bundle
         downloading particle4dev:sass at version 0.2.8 ...  done

       /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++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);
                                  ^
       Error: Couldn't parse stack frame: '    at requireBinding (/tmp/node-meteor-gLpD/.meteor/packages/particle4dev:sass/.0.2.8.1y09zmy++os.linux.x86_64+web.browser+web.cordova/plugin.compileSass.os.linux.x86_64/npm/compileSass/node_modules/node-sass/sass.js:17:14)'
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/parse-stack.js:76:13
           at Array.forEach (native)
           at Function._.each._.forEach (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++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.exports.parse (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/parse-stack.js:24:5)
           at Object.exception (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:346:28)
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/bundler.js:1107:22
           at Array.forEach (native)
           at Function._.each._.forEach (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++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 _.extend.load (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/bundler.js:1058:7)
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/unipackage.js:445:16
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:228:16
           at _.extend.withValue (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:225:32
           at _.extend.withValue (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
           at Object.enterJob (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:223:21)
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/unipackage.js:437:20
           at Function._.each._.forEach (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++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 _.extend._ensurePluginsInitialized (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/unipackage.js:425:7)
           at _.extend.getSourceHandlers (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/unipackage.js:380:10)
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:362:21
           at Array.forEach (native)
           at Function._.each._.forEach (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++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 (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:361:5)
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++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 (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++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 (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:878:5)
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/bundler.js:1756:26
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:186:11
           at _.extend.withValue (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:183:27
           at _.extend.withValue (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:181:16
           at _.extend.withValue (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
           at Object.capture (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:172:21)
           at Object.exports.bundle (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/bundler.js:1678:31)
           at main.registerCommand.name [as func] (/tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/commands.js:513:30)
           at /tmp/node-meteor-gLpD/.meteor/packages/meteor-tool/.1.0.28.u858sv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/main.js:1224:23
tar: /app/tmp/cache/bundle.tar.gz: Cannot open: No such file or directory
particle4dev commented 10 years ago

It seem like this error happens when you bundle your app. Im not sure how to fixed it but i used meteor-tool@1.0.28 to compile this package and it is only supported on osx and linux 64 bit.

stuartha13 commented 10 years ago

I stand corrected, but I think Heroku uses Linux 64-bit. I hadn't had a problem deploying my app before the Meteor 0.9 upgrade, and the SCSS packages are the only ones (so far) that are causing the builds to fail.

stuartha13 commented 10 years ago

I have moved the SCSS out of my project now, and am compiling it separately to my project. Not ideal, but it's a bad workaround for now.

daltonrenaldo commented 10 years ago

I am having the same problem, anything new on this?

particle4dev commented 10 years ago

i host my app on digital ocean and use meteor up to deploy, don't get any problem.

stuartha13 commented 10 years ago

@daltonrenaldo check out the same issue and solution here: https://github.com/fourseven/meteor-scss/issues/41 It has to do with the Heroku stack that you're deploying to. Try running heroku stack:set cedar-14 and then pushing your code to Heroku.

Closing this issue since it is a Heroku issue and not that of the package author.