Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested Layer Naming throws error #26

Open
wagerfield opened this issue Apr 6, 2016 · 0 comments
Open

Nested Layer Naming throws error #26

wagerfield opened this issue Apr 6, 2016 · 0 comments

Comments

@wagerfield
Copy link

Using nested artboard / layer / slice names like somedir/subdir/asset throws the following error:

fs.js:651
  var r = binding.read(fd, buffer, offset, length, position);
                  ^

Error: EISDIR: illegal operation on a directory, read
  at Error (native)
  at Object.fs.readSync (fs.js:651:19)
  at Object.fs.readFileSync (fs.js:472:24)
  at Socket.<anonymous> (/Users/matthewwagerfield/Dropbox/Business/Native/VimpelCom/beacon/prototypes/boilerplate/node_modules/gulp-sketch/index.js:78:20)
  at emitNone (events.js:85:20)
  at Socket.emit (events.js:179:7)
  at endReadableNT (_stream_readable.js:906:12)
  at nextTickCallbackWith2Args (node.js:474:9)
  at process._tickCallback (node.js:388:17)

Investigating this it would appear that the issue is with fs.readFileSync attempting to read a directory—in the example above this would be somedir.

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

No branches or pull requests

1 participant