{"action":"created","issue":{"url":"https://api.github.com/repos/canjs/canjs/issues/2794","repository_url":"https://api.github.com/repos/canjs/canjs","labels_url":"https://api.github.com/repos/canjs/canjs/issues/2794/labels{/name}","comments_url":"https://api.github.com/repos/canjs/canjs/issues/2794/comments","events_url":"https://api.github.com/repos/canjs/canjs/issues/2794/events","html_url":"https://github.com/canjs/canjs/issues/2794","id":192199977,"number":2794,"title":"Having issues using Browserify with CanJS 3","user":{"login":"chasenlehara","id":10070176,"avatar_url":"https://avatars.githubusercontent.com/u/10070176?v=3","gravatar_id":"","url":"https://api.github.com/users/chasenlehara","html_url":"https://github.com/chasenlehara","followers_url":"https://api.github.com/users/chasenlehara/followers","following_url":"https://api.github.com/users/chasenlehara/following{/other_user}","gists_url":"https://api.github.com/users/chasenlehara/gists{/gist_id}","starred_url":"https://api.github.com/users/chasenlehara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasenlehara/subscriptions","organizations_url":"https://api.github.com/users/chasenlehara/orgs","repos_url":"https://api.github.com/users/chasenlehara/repos","events_url":"https://api.github.com/users/chasenlehara/events{/privacy}","received_events_url":"https://api.github.com/users/chasenlehara/received_events","type":"User","site_admin":false},"labels":[{"id":17958203,"url":"https://api.github.com/repos/canjs/canjs/labels/Bug","name":"Bug","color":"e10c02","default":false},{"id":266837360,"url":"https://api.github.com/repos/canjs/canjs/labels/Compatibility","name":"Compatibility","color":"fad8c7","default":false},{"id":6590285,"url":"https://api.github.com/repos/canjs/canjs/labels/P0","name":"P0","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-29T06:35:15Z","updated_at":"2016-11-30T18:44:07Z","closed_at":null,"body":"When I tried to use a module like `can-define/map/map`, I get this error when I build with Browserify:\r\n```\r\nError: Cannot find module 'cssify' from '~/canjs-browserify-npm/node_modules/can-observation'\r\n    at ~/.nvm/versions/node/v6.9.1/lib/node_modules/browserify/node_modules/resolve/lib/async.js:46:17\r\n    at process (~/.nvm/versions/node/v6.9.1/lib/node_modules/browserify/node_modules/resolve/lib/async.js:173:43)\r\n    at ondir (~/.nvm/versions/node/v6.9.1/lib/node_modules/browserify/node_modules/resolve/lib/async.js:188:17)\r\n    at load (~/.nvm/versions/node/v6.9.1/lib/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)\r\n    at onex (~/.nvm/versions/node/v6.9.1/lib/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)\r\n    at ~/.nvm/versions/node/v6.9.1/lib/node_modules/browserify/node_modules/resolve/lib/async.js:22:47\r\n    at FSReqWrap.oncomplete (fs.js:123:15)\r\n```\r\n\r\nI’ve created a repo to demo this issue. Here’s the code in my `can-define-map` branch that demonstrates the issue: https://github.com/chasenlehara/canjs-browserify-npm/blob/can-define-map/main.js\r\n\r\nRequiring a module like `can-util` works correctly (`master` branch): https://github.com/chasenlehara/canjs-browserify-npm/blob/master/main.js\r\n\r\nPlease let me know if this is a CanJS bug or if I need to do more setup to make it work with Browserify."},"comment":{"url":"https://api.github.com/repos/canjs/canjs/issues/comments/263957908","html_url":"https://github.com/canjs/canjs/issues/2794#issuecomment-263957908","issue_url":"https://api.github.com/repos/canjs/canjs/issues/2794","id":263957908,"user":{"login":"matthewp","id":361671,"avatar_url":"https://avatars.githubusercontent.com/u/361671?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewp","html_url":"https://github.com/matthewp","followers_url":"https://api.github.com/users/matthewp/followers","following_url":"https://api.github.com/users/matthewp/following{/other_user}","gists_url":"https://api.github.com/users/matthewp/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewp/subscriptions","organizations_url":"https://api.github.com/users/matthewp/orgs","repos_url":"https://api.github.com/users/matthewp/repos","events_url":"https://api.github.com/users/matthewp/events{/privacy}","received_events_url":"https://api.github.com/users/matthewp/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T18:44:07Z","updated_at":"2016-11-30T18:44:07Z","body":"@chasenlehara this should be fixed now."}}
{"actor":{"display_login":"matthewp"}}