Closed bearfriend closed 9 years ago
Looked up this error on StackOverflow.
EISDIR means that the target of the operation is a directory in reality but that the expected filetype of the target is something other than a directory.
You may try patching in gulp-debug to see if you can find the failure. Or maybe run the individual gulp tasks until one breaks? cc @addyosmani
Ok, this was related to using a symlink in my app/
directory. The error came from the copy
task. I had done this:
ln -s dir/ app/dir
... in order to be able to access files from the app.
It was appropriate to reverse this in my case
rm app/dir
mv dir/ app/
ln -s app/dir/ dir
I can probably get rid of the symlink altogether. Either way, though, getting rid of the symlink in app/
fixed it.
I'm working on a polymer app (
yo polymer
), but I can't seem to run the default gulp task. I always get this error:I don't fully follow, but I think it may be related to https://github.com/yeoman/generator-polymer/pull/30#commitcomment-6414554That's over a year old, so probably not directly related.Anyone experienced this? Any suggestions?
(No changes to gulpfile.js)