-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken SASS dependency when using Bower #4055
Comments
As it was before is impossible because sass dropped support for it, the We probably should fix this, but I'm not sure how to best go about it without also breaking other usecases. |
Bringing in a change like this is breaking on other build tools besides bower/ember. I'm using node-sass v4.5.0 via a build tool called Laravel Mix, essentially a webpack wrapper. What is the version of node-sass is this package's setup is expecting? It works with these two possibilities for me as well:
You could supply a variable for this import statement so we can override like |
@oxodesign A quick fix for you is to fix your version in your package.json and npm update to that.
|
I do want to apologize for the issue, when we were fixing it our builds were failing left and right and we didn't think it all the way through to other users who could potentially be affected by this change. We should fix this. Having the If someone submits a PR to add a path variable and submit it against the 5.x branch, that would be greatly appreciated. Also, any other ideas are definitely welcome. |
A PR was made on node-sass to restore the old cwd behavior 11 days ago. It was merged into the currently tagged release, v4.5.0. @xzyfer even added tests to make sure this functionality is not removed again. See the pull request for reference. sass/node-sass#1877 For the sake of it, I just cloned the video.js repo and performed a fresh The old way of referencing |
Ah, in that case, I can make sure to revert that commit. That's for looking and reporting back that the functionality was restored. |
This is fixed. |
When using bower the reference to video-js-fonts package is inaccurate.
This is the reference now
@import "../../node_modules/videojs-font/scss/icons";
This change was as result of this issue > #3998 This is not working for me when using the package on Ember.js trough bower.
It should either be:
@import "../../../node_modules/videojs-font/scss/icons";
or as it was before:
@import "node_modules/videojs-font/scss/icons";
The text was updated successfully, but these errors were encountered: