{"action":"created","issue":{"url":"https://api.github.com/repos/thlorenz/browserify-shim/issues/46","labels_url":"https://api.github.com/repos/thlorenz/browserify-shim/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/thlorenz/browserify-shim/issues/46/comments","events_url":"https://api.github.com/repos/thlorenz/browserify-shim/issues/46/events","html_url":"https://github.com/thlorenz/browserify-shim/issues/46","id":31688668,"number":46,"title":"'Cannot find module' for Globals","user":{"login":"ryan-kimber","id":1018189,"avatar_url":"https://avatars.githubusercontent.com/u/1018189?v=3","gravatar_id":"","url":"https://api.github.com/users/ryan-kimber","html_url":"https://github.com/ryan-kimber","followers_url":"https://api.github.com/users/ryan-kimber/followers","following_url":"https://api.github.com/users/ryan-kimber/following{/other_user}","gists_url":"https://api.github.com/users/ryan-kimber/gists{/gist_id}","starred_url":"https://api.github.com/users/ryan-kimber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryan-kimber/subscriptions","organizations_url":"https://api.github.com/users/ryan-kimber/orgs","repos_url":"https://api.github.com/users/ryan-kimber/repos","events_url":"https://api.github.com/users/ryan-kimber/events{/privacy}","received_events_url":"https://api.github.com/users/ryan-kimber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"thlorenz","id":192891,"avatar_url":"https://avatars.githubusercontent.com/u/192891?v=3","gravatar_id":"","url":"https://api.github.com/users/thlorenz","html_url":"https://github.com/thlorenz","followers_url":"https://api.github.com/users/thlorenz/followers","following_url":"https://api.github.com/users/thlorenz/following{/other_user}","gists_url":"https://api.github.com/users/thlorenz/gists{/gist_id}","starred_url":"https://api.github.com/users/thlorenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thlorenz/subscriptions","organizations_url":"https://api.github.com/users/thlorenz/orgs","repos_url":"https://api.github.com/users/thlorenz/repos","events_url":"https://api.github.com/users/thlorenz/events{/privacy}","received_events_url":"https://api.github.com/users/thlorenz/received_events","type":"User","site_admin":false},"milestone":null,"comments":28,"created_at":"2014-04-16T23:18:13Z","updated_at":"2015-01-13T13:02:31Z","closed_at":null,"body":"I've been trying to create a project that utilizes AngularJS, Browserify and Gulp for an excellent developer experience, one that produces a distributable 'module' (in Angular parlance).\r\n\r\nWe've had great results with Gulp, but we're having trouble with browserify-shim. Also, unfortunately, most of the examples out there either don't use gulp, or use gulp-browserify, which has been blacklisted/ended.\r\n\r\nWe're including AngularJS and JQuery from Google CDN as &lt;script&gt; tags and have declared \"angular\" : \"global:angular\" and \"jquery\" : \"global:$\" in our browserify-shim config in package.json, but we're getting \"cannot find module\" when we try to user var angular = require('angular') and var $ = require('jquery') inside of our browserified-code (once it runs in the browser). \r\n\r\nI've created a sample project that distills this down close to the minimum. \r\nIt's available at https://github.com/ryan-kimber/multi-browserify \r\nOnce cloned, you would run 'npm install', then 'bower install', then 'gulp' to generate the files and run the test server. You can access the live HTML at http://localhost:4000/gulp.html\r\n\r\nAny help would be appreciated, but I'm also wondering if we've come across a bug/issue with the intersection of gulp, browserify, vinyl-source-stream, etc."},"comment":{"url":"https://api.github.com/repos/thlorenz/browserify-shim/issues/comments/69740739","html_url":"https://github.com/thlorenz/browserify-shim/issues/46#issuecomment-69740739","issue_url":"https://api.github.com/repos/thlorenz/browserify-shim/issues/46","id":69740739,"user":{"login":"bendrucker","id":808808,"avatar_url":"https://avatars.githubusercontent.com/u/808808?v=3","gravatar_id":"","url":"https://api.github.com/users/bendrucker","html_url":"https://github.com/bendrucker","followers_url":"https://api.github.com/users/bendrucker/followers","following_url":"https://api.github.com/users/bendrucker/following{/other_user}","gists_url":"https://api.github.com/users/bendrucker/gists{/gist_id}","starred_url":"https://api.github.com/users/bendrucker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendrucker/subscriptions","organizations_url":"https://api.github.com/users/bendrucker/orgs","repos_url":"https://api.github.com/users/bendrucker/repos","events_url":"https://api.github.com/users/bendrucker/events{/privacy}","received_events_url":"https://api.github.com/users/bendrucker/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T13:02:31Z","updated_at":"2015-01-13T13:02:31Z","body":"No. When we have a chance to look at @markreid's repo and hopefully resolve this you'll hear."}}