Skip to content

Import errors when there both rzslider.css and rzslider.scss in dist folder #477

Closed
@orochies

Description

@orochies

I recently cloned my project to a system with macOsx all fine until I ran the command:

sudo npm install

And I see a bug related to sass:

Message:
src/scss/index.scss
Error: It's not clear which file to import for '@import "node_modules/angularjs-slider/dist/rzslider"'.
Candidates:
node_modules/angularjs-slider/dist/rzslider.scss
node_modules/angularjs-slider/dist/rzslider.css
Please delete or rename all but one of these files.
on line 26 of src/scss/index.scss

@import "node_modules/angularjs-slider/dist/rzslider"; // explicit extension o

In my src/scss/index.scss:

@import "node_modules/angularjs-slider/dist/rzslider";

related info: sass/node-sass#1222

I see that it is related to its wonderful module and I come to check version changes and I find a change that says:

5.8.3 (2016-11-03)
Improvement
Generate a SCSS file (simple copy of the css file) in the dist folder so it can be imported (# 449)

-When clone and install angularjs-slider update to v5.8.7
-in the main project (Windows 8) have angularjs-slider v5.5.0

ok v5.8.3 is my problem, solution install v5.8.2 but i lost the last improvements.

Can you move rzslider.scss to src folder?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions