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

Illegal operation on a directory, read failed #31

Open
PawelAdamski opened this issue Apr 12, 2016 · 2 comments
Open

Illegal operation on a directory, read failed #31

PawelAdamski opened this issue Apr 12, 2016 · 2 comments

Comments

@PawelAdamski
Copy link

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
Copy link
Author

I have the same problem with brunch 2.7.2

@bcat-eu
Copy link

bcat-eu commented Jul 20, 2017

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.

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

No branches or pull requests

2 participants