{"action":"created","issue":{"url":"https://api.github.com/repos/calvinmetcalf/copyfiles/issues/10","labels_url":"https://api.github.com/repos/calvinmetcalf/copyfiles/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/calvinmetcalf/copyfiles/issues/10/comments","events_url":"https://api.github.com/repos/calvinmetcalf/copyfiles/issues/10/events","html_url":"https://github.com/calvinmetcalf/copyfiles/issues/10","id":91385393,"number":10,"title":"Works from CLI, but not from npm scripts","user":{"login":"tyrsius","id":1187432,"avatar_url":"https://avatars.githubusercontent.com/u/1187432?v=3","gravatar_id":"","url":"https://api.github.com/users/tyrsius","html_url":"https://github.com/tyrsius","followers_url":"https://api.github.com/users/tyrsius/followers","following_url":"https://api.github.com/users/tyrsius/following{/other_user}","gists_url":"https://api.github.com/users/tyrsius/gists{/gist_id}","starred_url":"https://api.github.com/users/tyrsius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyrsius/subscriptions","organizations_url":"https://api.github.com/users/tyrsius/orgs","repos_url":"https://api.github.com/users/tyrsius/repos","events_url":"https://api.github.com/users/tyrsius/events{/privacy}","received_events_url":"https://api.github.com/users/tyrsius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-26T23:28:18Z","updated_at":"2016-01-08T18:41:28Z","closed_at":null,"body":"I've tried this with a couple commands, and I'm not sure what the issue is, but using `npm run` to run a script with `copyfiles` in it doesn't work. The same command as `./node_modules/.bin/copyfiles` works fine"},"comment":{"url":"https://api.github.com/repos/calvinmetcalf/copyfiles/issues/comments/170086484","html_url":"https://github.com/calvinmetcalf/copyfiles/issues/10#issuecomment-170086484","issue_url":"https://api.github.com/repos/calvinmetcalf/copyfiles/issues/10","id":170086484,"user":{"login":"calvinmetcalf","id":1128607,"avatar_url":"https://avatars.githubusercontent.com/u/1128607?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinmetcalf","html_url":"https://github.com/calvinmetcalf","followers_url":"https://api.github.com/users/calvinmetcalf/followers","following_url":"https://api.github.com/users/calvinmetcalf/following{/other_user}","gists_url":"https://api.github.com/users/calvinmetcalf/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinmetcalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinmetcalf/subscriptions","organizations_url":"https://api.github.com/users/calvinmetcalf/orgs","repos_url":"https://api.github.com/users/calvinmetcalf/repos","events_url":"https://api.github.com/users/calvinmetcalf/events{/privacy}","received_events_url":"https://api.github.com/users/calvinmetcalf/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T18:41:28Z","updated_at":"2016-01-08T18:41:28Z","body":"when you get back to your computer can you try the with-logging branch and\nadd DEBUG=\\\"copyfiles:*\\\" to the begining of your npm script where you are\nhaving the problem? (use calvinmetcalf/copyfiles#with-logging as the\nversion)\n\nOn Fri, Jan 8, 2016 at 12:40 PM Nathan Smith <notifications@github.com>\nwrote:\n\n> not at computer right now to give exact, but node 4.2.x and npm 2.14.x\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/calvinmetcalf/copyfiles/issues/10#issuecomment-170069531>\n> .\n>\n"}}