{"action":"created","issue":{"url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1534","labels_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1534/labels{/name}","comments_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1534/comments","events_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1534/events","html_url":"https://github.com/Modernizr/Modernizr/issues/1534","id":58689924,"number":1534,"title":"Errors trying to use the NPM version of Modernizr","user":{"login":"cdomkokao","id":1907053,"avatar_url":"https://avatars.githubusercontent.com/u/1907053?v=3","gravatar_id":"","url":"https://api.github.com/users/cdomkokao","html_url":"https://github.com/cdomkokao","followers_url":"https://api.github.com/users/cdomkokao/followers","following_url":"https://api.github.com/users/cdomkokao/following{/other_user}","gists_url":"https://api.github.com/users/cdomkokao/gists{/gist_id}","starred_url":"https://api.github.com/users/cdomkokao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdomkokao/subscriptions","organizations_url":"https://api.github.com/users/cdomkokao/orgs","repos_url":"https://api.github.com/users/cdomkokao/repos","events_url":"https://api.github.com/users/cdomkokao/events{/privacy}","received_events_url":"https://api.github.com/users/cdomkokao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-24T03:48:28Z","updated_at":"2015-02-24T04:32:10Z","closed_at":"2015-02-24T04:15:11Z","body":"When I use NPM to get the latest version of Modernizr and put the modernizr-build.js or modernizr-build.min.js from the dist folder of the package I get the following error and my whole page doesn't load.  I googled this and didn't find any solutions.  Anyone have any ideas on what I am doing wrong?\r\n\r\n    WebSocket connection to 'ws://./' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED\r\n    modernizr-build.js:5781 Resource interpreted as Image but transferred with MIME type image/vnd.ms-photo: \"data:image/vnd.ms-photo;base64,SUm8AQgAAAAFAAG8AQAQAAAASgAAAIC8BAABAAAAAQAA…AAAAAAAAAkw91vA07+S7GFPXd2jckNV01QSE9UTwAZAYBxAAAAABP/gAAEb/8AAQAAAQAAAA==\".modernizr-build.js:5781 (anonymous function)modernizr-build.js:117 testRunnermodernizr-build.js:7931 (anonymous function)modernizr-build.js:7952 (anonymous function)\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/Modernizr/Modernizr/issues/comments/75697974","html_url":"https://github.com/Modernizr/Modernizr/issues/1534#issuecomment-75697974","issue_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1534","id":75697974,"user":{"login":"patrickkettner","id":465414,"avatar_url":"https://avatars.githubusercontent.com/u/465414?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickkettner","html_url":"https://github.com/patrickkettner","followers_url":"https://api.github.com/users/patrickkettner/followers","following_url":"https://api.github.com/users/patrickkettner/following{/other_user}","gists_url":"https://api.github.com/users/patrickkettner/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickkettner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickkettner/subscriptions","organizations_url":"https://api.github.com/users/patrickkettner/orgs","repos_url":"https://api.github.com/users/patrickkettner/repos","events_url":"https://api.github.com/users/patrickkettner/events{/privacy}","received_events_url":"https://api.github.com/users/patrickkettner/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T04:32:10Z","updated_at":"2015-02-24T04:32:10Z","body":"@cdomkokao that is there because you are using a full build. [hidden is a detect](https://github.com/Modernizr/Modernizr/blob/master/feature-detects/dom/hidden.js)\r\n\r\nyou _really_ need to use a custom build. Its probably several orders of magnitude larger than you actually need it to be."}}