{"action":"created","issue":{"url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/358","repository_url":"https://api.github.com/repos/jprichardson/node-fs-extra","labels_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/358/comments","events_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/358/events","html_url":"https://github.com/jprichardson/node-fs-extra/issues/358","id":208214979,"number":358,"title":"fs.copy silently fails on windows","user":{"login":"arekkas","id":3372410,"avatar_url":"https://avatars.githubusercontent.com/u/3372410?v=3","gravatar_id":"","url":"https://api.github.com/users/arekkas","html_url":"https://github.com/arekkas","followers_url":"https://api.github.com/users/arekkas/followers","following_url":"https://api.github.com/users/arekkas/following{/other_user}","gists_url":"https://api.github.com/users/arekkas/gists{/gist_id}","starred_url":"https://api.github.com/users/arekkas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arekkas/subscriptions","organizations_url":"https://api.github.com/users/arekkas/orgs","repos_url":"https://api.github.com/users/arekkas/repos","events_url":"https://api.github.com/users/arekkas/events{/privacy}","received_events_url":"https://api.github.com/users/arekkas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-16T19:03:17Z","updated_at":"2017-02-16T20:21:31Z","closed_at":null,"body":"This is an upstream issue report from [electron-packager#544](https://github.com/electron-userland/electron-packager/issues/544) and in particular [this comment](https://github.com/electron-userland/electron-packager/issues/544#issuecomment-280419995). The issue exists in both 1.0 and 2.0 versions.\r\n\r\nelectron-packager is a cli helper that packages an electron app. It does so by copying a node app (including node_modules) to the temp directory. This step uses `fs.copy` which silently fails. Neither the callback is called, nor an error is thrown.\r\n\r\nThis is the line which fails silently\r\n\r\n```js\r\nfs.copy(opts.dir, appPath, {filter: ignore.userIgnoreFilter(opts), dereference: shouldDeref}, cb)\r\n```\r\n\r\nI'd be glad to help you identify root cause of this issue. My current guess that it's combination of filter/dereference and maybe (?) long paths?\r\n\r\nNote that this *only* happens on windows. On OSX, packaging the project works fine."},"comment":{"url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/comments/280447752","html_url":"https://github.com/jprichardson/node-fs-extra/issues/358#issuecomment-280447752","issue_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/358","id":280447752,"user":{"login":"jdalton","id":4303,"avatar_url":"https://avatars.githubusercontent.com/u/4303?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalton","html_url":"https://github.com/jdalton","followers_url":"https://api.github.com/users/jdalton/followers","following_url":"https://api.github.com/users/jdalton/following{/other_user}","gists_url":"https://api.github.com/users/jdalton/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalton/subscriptions","organizations_url":"https://api.github.com/users/jdalton/orgs","repos_url":"https://api.github.com/users/jdalton/repos","events_url":"https://api.github.com/users/jdalton/events{/privacy}","received_events_url":"https://api.github.com/users/jdalton/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T20:21:31Z","updated_at":"2017-02-16T20:21:31Z","body":"> Unfortunately, there is no nvm I am aware of that works on windows\r\n\r\nI use `nvm` with BashOnWindows in Windows 10."}}
{"actor":{"display_login":"jdalton"}}