{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/193","labels_url":"https://api.github.com/repos/vuejs/vue-router/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-router/issues/193/comments","events_url":"https://api.github.com/repos/vuejs/vue-router/issues/193/events","html_url":"https://github.com/vuejs/vue-router/issues/193","id":112219368,"number":193,"title":"Loading with Browserify","user":{"login":"Ben52","id":5143458,"avatar_url":"https://avatars.githubusercontent.com/u/5143458?v=3","gravatar_id":"","url":"https://api.github.com/users/Ben52","html_url":"https://github.com/Ben52","followers_url":"https://api.github.com/users/Ben52/followers","following_url":"https://api.github.com/users/Ben52/following{/other_user}","gists_url":"https://api.github.com/users/Ben52/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben52/subscriptions","organizations_url":"https://api.github.com/users/Ben52/orgs","repos_url":"https://api.github.com/users/Ben52/repos","events_url":"https://api.github.com/users/Ben52/events{/privacy}","received_events_url":"https://api.github.com/users/Ben52/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-19T19:51:29Z","updated_at":"2015-10-19T19:59:45Z","closed_at":"2015-10-19T19:59:45Z","body":"I installed with `npm install vue-router --save`. However when I attempt to use the package using CommonJS and Browserify, I get an error that the module could not be found. Looking in the package.json, it sets `\"main\": \"lib/index.js\"`, which doesn't exist after a simple npm install. What would be the best way to load the module with Browserify?"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/comments/149329288","html_url":"https://github.com/vuejs/vue-router/issues/193#issuecomment-149329288","issue_url":"https://api.github.com/repos/vuejs/vue-router/issues/193","id":149329288,"user":{"login":"yyx990803","id":499550,"avatar_url":"https://avatars.githubusercontent.com/u/499550?v=3","gravatar_id":"","url":"https://api.github.com/users/yyx990803","html_url":"https://github.com/yyx990803","followers_url":"https://api.github.com/users/yyx990803/followers","following_url":"https://api.github.com/users/yyx990803/following{/other_user}","gists_url":"https://api.github.com/users/yyx990803/gists{/gist_id}","starred_url":"https://api.github.com/users/yyx990803/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyx990803/subscriptions","organizations_url":"https://api.github.com/users/yyx990803/orgs","repos_url":"https://api.github.com/users/yyx990803/repos","events_url":"https://api.github.com/users/yyx990803/events{/privacy}","received_events_url":"https://api.github.com/users/yyx990803/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T19:59:45Z","updated_at":"2015-10-19T19:59:45Z","body":"Sounds like your npm didn't install correctly. Just tried a fresh install and `lib` is there."}}