brunch / less-brunch

Adds LESS support to Brunch
14 stars 18 forks source link

Illegal operation on a directory, read failed #31

Open PawelAdamski opened 8 years ago

PawelAdamski commented 8 years ago

After switching from brunch 2.6.0 to 2.6.5 I get following error

/home/pawel/Repository/........client/node_modules/brunch/lib/fs_utils/file_list.js:196
        if (error) throw new Error(formatError('Reading', error));
                   ^

Error: undefined of Error: EISDIR: illegal operation on a directory, read failed. 
  at /home/pawel/Repository/....../client/node_modules/brunch/lib/fs_utils/file_list.js:196:26
  at /home/pawel/Repository/....../client/node_modules/fcache/index.js:19:23
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:368:12)

I attach brunch logs and my package.json logs.txt package.json.txt

I'm using Ubuntu 14.04

PawelAdamski commented 8 years ago

I have the same problem with brunch 2.7.2

bcat-eu commented 6 years ago

This might happen when trying to use unsafe paths, something like import module from "module", replacing it with import module from "./module" should fix it.