{"action":"created","issue":{"url":"https://api.github.com/repos/ruipgil/scraperjs/issues/49","labels_url":"https://api.github.com/repos/ruipgil/scraperjs/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/ruipgil/scraperjs/issues/49/comments","events_url":"https://api.github.com/repos/ruipgil/scraperjs/issues/49/events","html_url":"https://github.com/ruipgil/scraperjs/issues/49","id":115158845,"number":49,"title":"jquery file injection failing","user":{"login":"tcarlock","id":848168,"avatar_url":"https://avatars.githubusercontent.com/u/848168?v=3","gravatar_id":"","url":"https://api.github.com/users/tcarlock","html_url":"https://github.com/tcarlock","followers_url":"https://api.github.com/users/tcarlock/followers","following_url":"https://api.github.com/users/tcarlock/following{/other_user}","gists_url":"https://api.github.com/users/tcarlock/gists{/gist_id}","starred_url":"https://api.github.com/users/tcarlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcarlock/subscriptions","organizations_url":"https://api.github.com/users/tcarlock/orgs","repos_url":"https://api.github.com/users/tcarlock/repos","events_url":"https://api.github.com/users/tcarlock/events{/privacy}","received_events_url":"https://api.github.com/users/tcarlock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T22:00:14Z","updated_at":"2015-11-05T00:19:29Z","closed_at":null,"body":"When I use this module in my project an exception is being raised. Basically, the jquery script is failing to be injected because the file isn't present. The jquery dependency isn't being installed in scraperjs's node_modules directory so the hard-coded path in DynamicScraper fails. \r\n\r\nNear as I can tell jquery is not being installed because it's already in the dependencies of my project, so I guess it's being deduped by NPM (I didn't think version 2 did this, but it's the only logical explanation).\r\n\r\nI don't know of a reasonable way around this other than including the script file in the src directory."},"comment":{"url":"https://api.github.com/repos/ruipgil/scraperjs/issues/comments/153913137","html_url":"https://github.com/ruipgil/scraperjs/issues/49#issuecomment-153913137","issue_url":"https://api.github.com/repos/ruipgil/scraperjs/issues/49","id":153913137,"user":{"login":"ruipgil","id":952530,"avatar_url":"https://avatars.githubusercontent.com/u/952530?v=3","gravatar_id":"","url":"https://api.github.com/users/ruipgil","html_url":"https://github.com/ruipgil","followers_url":"https://api.github.com/users/ruipgil/followers","following_url":"https://api.github.com/users/ruipgil/following{/other_user}","gists_url":"https://api.github.com/users/ruipgil/gists{/gist_id}","starred_url":"https://api.github.com/users/ruipgil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruipgil/subscriptions","organizations_url":"https://api.github.com/users/ruipgil/orgs","repos_url":"https://api.github.com/users/ruipgil/repos","events_url":"https://api.github.com/users/ruipgil/events{/privacy}","received_events_url":"https://api.github.com/users/ruipgil/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T00:19:29Z","updated_at":"2015-11-05T00:19:29Z","body":"Can you provide which versions of both ``` node ``` and ``` npm ``` are you running?"}}