Comments (32)
Hey Sam, could you either include the error messages or link me to a gist is breaking please? It works for me but I'm happy to try and work out what's not working for you.
from meteor-scss.
Hi there,
I start with a functioning app. Install the scss package by mrt add scss
this installs fine and then i boot the app up by typing mrt
everything works fine. If i then add a file called styles.scss within my css folder I get the following error code.
Exception while bundling application:
Error: Module version mismatch, refusing to load.
at Object.Module._extensions..node (module.js:485:11)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/Users/sam/.meteorite/packages/scss/fourseven/meteor-scss/d500ec82a77680be3c1e0640e48842d9e66c0102/.npm/node_modules/node-sass/sass.js:11:13)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.self.npmFacade.require (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/packages.js:131:16)
at scss_handler (/Users/sam/Sites/Git_Repos/gthr/.meteor/meteorite/packages/scss/package.js:12:18)
at _.extend.add_file (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/bundler.js:213:7)
at self.api.add_files (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/bundler.js:126:16)
at Array.forEach (native)
at Function._.each._.forEach (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at self.api.add_files (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/bundler.js:125:11)
at Array.forEach (native)
at Function._.each._.forEach (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at Object.self.api.add_files (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/bundler.js:124:9)
at _.extend.init_from_app_dir [as on_use_handler] (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/packages.js:246:11)
at _.extend.use (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/bundler.js:464:11)
at Object.exports.bundle (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/bundler.js:873:12)
at /Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/run.js:694:26
at exports.inFiber (/Users/sam/.meteorite/meteors/meteor/meteor/5d736d4bf0448c7db1f9b47124dfafc34a9631bb/tools/fiber-helpers.js:24:12)
from meteor-scss.
Which version of node are you running?
from meteor-scss.
Im running version v.0.10.7
from meteor-scss.
Is this the first meteor project that you've used this scss package in? I'm still trying to reproduce it, judging from your file paths it's running on Mac OS? Which version? I'll try and update the package to the new node-sass release which may help, but there's no guarantee.
from meteor-scss.
yeah this is the first project using the scss package. Yeah running Mountain Lion. Could it be something to do with folder structure of the app or does that have no relevance?
from meteor-scss.
The app structure should not be a factor - this package associates .scss files to node-sass (anywhere in the file structure) and hands off to that to do the compilation.
There have been a few issues raised in the node-sass project about the Module version mismatch error, which is associated with modules and node versions not matching (0.8.x vs 0.10.x) - however I don't see why the Mac OS one is broken, it should be compiled for 0.10.x and is functioning for me.
Do you have node-sass installed globally?
from meteor-scss.
Ah maybe it's because I don't have node-sass installed. I thought the meteor scss package installed it as a dependency. What's the best way of installing it?
from meteor-scss.
It should, so the fact that it is installed is a good thing. node-sass should be hidden away in: $PROJECT_FOLDER/.meteor/meteorite/packages/scss/.npm/node_modules if meteor is doing it's thing correctly. The package.json file in that (node-sass sub-)folder should also list it's version, which, with luck should be 0.4.4. Can you confirm this for me please?
from meteor-scss.
Apologies for the delay in getting back I can confirm that the package.json reads version 0.4.4
from meteor-scss.
I've just had @bowmande update the versions to the latest node-sass, does that help? (scss package latest is 0.5.1.1)
from meteor-scss.
How would I go a out updating the package? Everytime I run mrt update it
seems to fail at a fibres update.
On Thursday, June 6, 2013, Mathew Hartley wrote:
I've just had @bowmande https://github.com/bowmande update the versions
to the latest node-sass, does that help? (scss package latest is 0.5.1.1)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-19077415
.
from meteor-scss.
The less drastic way is
mrt update scss
or remove and re-add the package.
from meteor-scss.
I just added travis configuration, and that's failing with the same problem as you're experiencing. Which is good, but I'm still perplexed - https://travis-ci.org/fourseven/meteor-scss/builds/7858318
from meteor-scss.
It looks like its passing now on Travis.
from meteor-scss.
Just reinstalled the package though and its still crashing as soon as I create and scss file
from meteor-scss.
I'll investigate to why it is working for me.
Sent from my iPhone
On Jun 7, 2013, at 3:52 AM, Sam Mason [email protected] wrote:
Just reinstalled the package though and its still crashing as soon as I create and scss file
—
Reply to this email directly or view it on GitHub.
from meteor-scss.
It's passing, but it shouldn't be, the log is showing the same error as you've referenced above.
from meteor-scss.
I'm still looking into this, node modules are cryptic when they're not obscured by meteor...
from meteor-scss.
This seems to be a problem with node-sass directly. They suspect a node version issue. sass/node-sass#102
from meteor-scss.
Strange though as it looks like the issue is on older versions of node. I'm
running the latest using homebrew on osx.
On Tuesday, June 25, 2013, Matthew Turney wrote:
This seems to be a problem with node-sass directly. They suspect a node
version issue. sass/node-sass#102sass/node-sass#102—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-19994151
.
from meteor-scss.
We actually got this working after just bouncing the VM. Not sure how that could have affected anything, but it happened.
from meteor-scss.
Ah I see, I have just checked again and it it still throwing the same error
as before.
On Tuesday, June 25, 2013, Matthew Turney wrote:
We actually got this working after just bouncing the VM. Not sure how that
could have affected anything, but it happened.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-20008819
.
from meteor-scss.
i'm having the same issue, is there any workaround or fix?
Exception while bundling application:
Error: Module version mismatch, refusing to load.
at Object.Module._extensions..node (module.js:485:11)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/Users/m17/.meteorite/packages/scss/fourseven/meteor-scss/d3438b652f90ff2b418ac143fc3a746be2772e4b/.npm/node_modules/node-sass/sass.js:11:13)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.self.npmFacade.require (/Users/m17/.meteor/tools/d699ad29da/tools/packages.js:131:16)
at scss_handler (/Users/m17/Sites/Meteor/pauta_jp/packages/scss/package.js:11:18)
at _.extend.add_file (/Users/m17/.meteor/tools/d699ad29da/tools/bundler.js:213:7)
at self.api.add_files (/Users/m17/.meteor/tools/d699ad29da/tools/bundler.js:126:16)
at Array.forEach (native)
at Function._.each._.forEach (/Users/m17/.meteor/tools/d699ad29da/lib/node_modules/underscore/underscore.js:78:11)
at self.api.add_files (/Users/m17/.meteor/tools/d699ad29da/tools/bundler.js:125:11)
at Array.forEach (native)
at Function._.each._.forEach (/Users/m17/.meteor/tools/d699ad29da/lib/node_modules/underscore/underscore.js:78:11)
at Object.self.api.add_files (/Users/m17/.meteor/tools/d699ad29da/tools/bundler.js:124:9)
at _.extend.init_from_app_dir [as on_use_handler] (/Users/m17/.meteor/tools/d699ad29da/tools/packages.js:246:11)
at _.extend.use (/Users/m17/.meteor/tools/d699ad29da/tools/bundler.js:464:11)
at Object.exports.bundle (/Users/m17/.meteor/tools/d699ad29da/tools/bundler.js:873:12)
at /Users/m17/.meteor/tools/d699ad29da/tools/run.js:697:26
at exports.inFiber (/Users/m17/.meteor/tools/d699ad29da/tools/fiber-helpers.js:24:12)
versions:
macOSX 10.8.4
node 0.10.15
node-sass 0.6.3
from meteor-scss.
Hey all, I'm still struggling to find the cause for this - it works fine in isolation, but in some configurations it's doing what you see above. I'm still working on it, though any help appreciated.
from meteor-scss.
Hey I had the same issue on two different machines (both osx)
from meteor-scss.
after i formatted my HD and reinstalled all aplications, sass does not give me this error anymore and it is fully working.
from meteor-scss.
I've released a new version (0.6.4.1) to match the Meteor 0.6.5 packages API, please let me know if that helps.
from meteor-scss.
Having this issue. Tell me if any information would help.
from meteor-scss.
Hi guys, having this issue on Ubuntu 13.04. Any info?
from meteor-scss.
I was having similar issues.
To resolve, I updated my node version via NPM:
From there, I removed node-sass and then reinstalled using:
npm install node-sass -g
Using mrt, I added the meteor-scss packaged back to my project:
mrt add scss
All is well now.
Cheers.
from meteor-scss.
This has been properly resolved with #7
from meteor-scss.
Related Issues (20)
- Bug: the "original" argument must be of type function HOT 2
- Adding package gives error HOT 1
- _includePaths is not iterable in Meteor 1.8 HOT 9
- Can't get source maps working after upgrading to Meteor 1.10 HOT 1
- Error with @charset when importing Bulma HOT 6
- Can't find binary HOT 1
- :not pseudoselectors removed during compilation HOT 2
- Indented/sass format seems to be supported? HOT 4
- Can't build since update HOT 3
- "Uncaught Error: Element type is invalid" if .scss file with same base name exists in importing file's folder HOT 2
- Same SCSS import in few files will be placed to final CSS once, or each time, when I'm importing it?
- Remove prebuilding binaries a dependency for this package HOT 1
- plugin-cache for fourseven:scss gets insanely huge HOT 3
- Node-Sass deprecated; recommendation is to switch to dart-sass HOT 2
- `includePaths` no longer loading from scss-config.json HOT 4
- File to import... not found in file: undefined HOT 8
- SASS files from node_modules are not being transpiled HOT 4
- Importing sass from scss throws error HOT 2
- Using the @use rule HOT 2
- Cannot download "darwin-arm64-83_binding.node" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-scss.