Comments (12)
In my case, I had to remove ~/node_modules
. After I did that, Meteorite loaded the the dependencies just fine, and the package seems to work. This worked where deleting ~/meteorite
and even reinstalling Meteor did not. Once it was working, I was able to put ~/node_modules
back without breaking anything. It appears that NPM (Meteorite?) was confused on which path to use, or perhaps the install and the use paths were different for some reason. I have seen similar bugs reported on other Meteorite packages (Iron Router is one). I wonder if this is a subtle bug in Meteorite. I will post an issue there in case Tom can make something of it.
from meteor-scss.
I've posted an issue to Meteor about this.
from meteor-scss.
That's awesome @rdickert, I'll keep an eye on the Meteor issue. Thanks again!
from meteor-scss.
I see that you've got an outstanding PR @rdickert, good job (still keeping an eye on this issue).
from meteor-scss.
Thanks, @fourseven!
from meteor-scss.
My PR was merged into the Meteor devel branch. That should fix this issue on the next Meteor core release.
from meteor-scss.
I might as well close this issue, since it's not far away from being resolved (if it's not already - I'm not keeping as close an eye on meteor at the moment).
from meteor-scss.
My PR hit with 0.7.1, so it should be fixed.
from meteor-scss.
@rdickert @fourseven I just experienced this issue, as well. My project wasn't new, but I am using the scss package and also had node-sass installed. Everything was working fine, but it randomly stopped working (while I was editing some jQuery in a template manager). I went ahead and deleted the node_modules folder in the project directory and it runs fine again. But just want to give a heads up that this issue might not be resolved after all or that it might have resurfaced.
from meteor-scss.
@stewartmccoy If you are using Meteor 0.7.1 or newer and have this problem, it could be a new problem, likely for Meteor, not this package. However, if I'm understanding what you wrote, the problem may be different. If you directly installed node-sass via npm in your project directory, that won't work and will always break Meteor. This package will automatically include node sass at yourproject/packages/scss/.npm/plugin/meteor-scss/node_modules - so you don't need to add it yourself.
from meteor-scss.
@rdickert the problem ended up being that I messed up permissions by doing sudo mrt. I ended up following the help here: https://github.com/oortcloud/meteorite/blob/master/README.md#permission-woes and then reinstalling meteorite. Thanks!
from meteor-scss.
@stewartmccoy Glad you got it sorted :-)
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.