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

ENOTDIR on a file. #55

Closed
cbuteau opened this issue Apr 20, 2016 · 2 comments
Closed

ENOTDIR on a file. #55

cbuteau opened this issue Apr 20, 2016 · 2 comments
Labels
Milestone

Comments

@cbuteau
Copy link

cbuteau commented Apr 20, 2016

Hello I am using the grunt-crx-pack grunt extension which uses your library.

It runs into an error packaging a chrome extension on Windows.

{ [Error: ENOTDIR: not a directory, scandir 'D:\chrome\listOfLists\dist\delete.png']
  errno: -4052,
  code: 'ENOTDIR',
  syscall: 'scandir',
  path: 'D:\\chrome\\listOfLists\\dist\\delete.png' }
Error: ENOTDIR: not a directory, scandir 'D:\chrome\listOfLists\dist\delete.png'
    at Error (native)

AT first I suspected wrench which claims to be a deprecated package.
But when I tried to replace the wrench.copyRecursive() call with fs-extra.copy() I ran into another problem.

I just want to automate the packaging of the extension and grunt seemed the right tool.

@thom4parisot
Copy link
Owner

Yeah it is probably an issue which happens during the copy/temporary copy.

I have plan to address it with #59.

@thom4parisot
Copy link
Owner

[email protected] has been released and should probably solve this issue. Reopen/ask to reopen it if it would not be the case.

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

No branches or pull requests

2 participants