Skip to content

Error: File to import not found or unreadable: lib/common #20

@Ju01110101

Description

@Ju01110101

When editing a scss file such as _common.scss, gulp crashes with the error below:

fpall@DESKTOP-29K1H38 MINGW64 /d/EasyPHP/www/rin (master)
$ gulp
(node:9888) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
(node:9888) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[08:29:37] Using gulpfile D:\EasyPHP\www\rin\gulpfile.js
[08:29:37] Starting 'browser-sync'...
[08:29:37] Finished 'browser-sync' after 17 ms
[08:29:37] Starting 'default'...
[08:29:37] Finished 'default' after 20 ms
[BS] Access URLs:
 ------------------------------------
       Local: http://localhost:3000
    External: http://192.168.0.7:3000
 ------------------------------------
          UI: http://localhost:3001
 UI External: http://192.168.0.7:3001
 ------------------------------------
[BS] Serving files from: ./
[09:19:26] Starting 'sass'...
[09:19:26] Finished 'sass' after 12 ms
[BS] 1 file changed (style.css)
[09:19:37] Starting 'sass'...
[09:19:37] Finished 'sass' after 4.59 ms

events.js:160
      throw er; // Unhandled 'error' event
      ^
Error: sass\style.scss
Error: File to import not found or unreadable: lib/common
       Parent style sheet: D:/EasyPHP/www/rin/sass/style.scss
        on line 4 of sass/style.scss
>> @import "lib/common";
   ^

    at options.error (D:\EasyPHP\www\rin\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:271:32)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions