Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Sass Compilation Failed #20

Closed
XavRsl opened this issue Nov 6, 2015 · 4 comments
Closed

Sass Compilation Failed #20

XavRsl opened this issue Nov 6, 2015 · 4 comments

Comments

@XavRsl
Copy link
Contributor

XavRsl commented Nov 6, 2015

Hi !
I'm trying to install blender on my homestead box. I went through all the installation steps and always run into this error :

[10:24:55] gulp-notify: [Laravel Elixir] Sass Compilation Failed: resources/assets/sass/back/back.scss
Error: file to import not found or unreadable: datatables/media/css/jquery.dataTables
       Current dir:
        on line 7 of stdin
>> @import 'datatables/media/css/jquery.dataTables';
   --------^

{ [Error: resources/assets/sass/back/back.scss
Error: file to import not found or unreadable: datatables/media/css/jquery.dataTables
       Current dir:
        on line 7 of stdin
>> @import 'datatables/media/css/jquery.dataTables';
   --------^
]

I've tried it a few times before posting this issue. Seems like datatables module is installed by the blender.js package but sass doesn't seem to have access to it. Any idea ?

Thanks.

Xavier

@sebastiandedeyne
Copy link
Member

Are you by chance using an NPM version below v3? The sass imports expect a flat directory structure in node_modules.

@XavRsl
Copy link
Contributor Author

XavRsl commented Nov 6, 2015

Hi !
Good call ! I was not aware of the fact that npm upgrade only upgrades the current main version.
As a reminder, after installing the lastest version of nodejs, here's the command to upgrade npm :

sudo npm install npm -g

It's working now !

I'm closing the issue. Thanks !!!!!

Xavier

@XavRsl XavRsl closed this as completed Nov 6, 2015
@freekmurze
Copy link
Member

Out of curiosity: are you trying out Blender for fun or are you planning to use it on a real project?

@XavRsl
Copy link
Contributor Author

XavRsl commented Nov 8, 2015

Neither... I'm building a website for a client and I'm in the process of looking around for the best practices. I'll probably use some pieces of your project that I would find useful. And there are a few !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants