{"action":"created","issue":{"url":"https://api.github.com/repos/yaniswang/HTMLHint/issues/76","labels_url":"https://api.github.com/repos/yaniswang/HTMLHint/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/yaniswang/HTMLHint/issues/76/comments","events_url":"https://api.github.com/repos/yaniswang/HTMLHint/issues/76/events","html_url":"https://github.com/yaniswang/HTMLHint/issues/76","id":110489586,"number":76,"title":"Error: Cannot find module 'commander'","user":{"login":"devurandom","id":63082,"avatar_url":"https://avatars.githubusercontent.com/u/63082?v=3","gravatar_id":"","url":"https://api.github.com/users/devurandom","html_url":"https://github.com/devurandom","followers_url":"https://api.github.com/users/devurandom/followers","following_url":"https://api.github.com/users/devurandom/following{/other_user}","gists_url":"https://api.github.com/users/devurandom/gists{/gist_id}","starred_url":"https://api.github.com/users/devurandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devurandom/subscriptions","organizations_url":"https://api.github.com/users/devurandom/orgs","repos_url":"https://api.github.com/users/devurandom/repos","events_url":"https://api.github.com/users/devurandom/events{/privacy}","received_events_url":"https://api.github.com/users/devurandom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-08T16:24:43Z","updated_at":"2015-10-09T07:47:51Z","closed_at":null,"body":"When I try to run `htmlhint`, I get following error message:\r\n```\r\n$ node .npm/htmlhint/0.9.8/package/bin/htmlhint \r\n\r\nmodule.js:340\r\n    throw err;\r\n          ^\r\nError: Cannot find module 'commander'\r\n    at Function.Module._resolveFilename (module.js:338:15)\r\n    at Function.Module._load (module.js:280:25)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (/home/AD/tf128/.npm/htmlhint/0.9.8/package/bin/htmlhint:3:15)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Function.Module.runMain (module.js:497:10)\r\n```\r\n\r\n```\r\n$ aptitude show nodejs\r\nPackage: nodejs                          \r\nState: installed\r\nAutomatically installed: yes\r\nVersion: 0.10.25~dfsg2-2ubuntu1\r\nPriority: extra\r\nSection: universe/web\r\nMaintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>\r\nArchitecture: amd64\r\nUncompressed Size: 3,116 k\r\nDepends: libc-ares2 (>= 1.8.0), libc6 (>= 2.14), libssl1.0.0 (>= 1.0.1), libstdc++6 (>= 4.1.1), libv8-3.14.5, zlib1g (>= 1:1.1.4)\r\nConflicts: nodejs\r\nDescription: evented I/O for V8 javascript\r\n Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run\r\n across distributed devices. \r\n \r\n Node.js is bundled with several useful libraries to handle server tasks: \r\n \r\n System, Events, Standard I/O, Modules, Timers, Child Processes, POSIX, HTTP, Multipart Parsing, TCP, DNS, Assert, Path, URL, Query Strings.\r\nHomepage: http://nodejs.org/\r\n$ node --version\r\nv0.10.25\r\n$ npm install htmllint\r\n...\r\nhtmlhint@0.9.8 node_modules/htmlhint\r\n├── strip-json-comments@1.0.4\r\n├── commander@2.6.0\r\n├── colors@1.0.3\r\n├── csslint@0.10.0 (parserlib@0.2.5)\r\n└── jshint@2.8.0 (exit@0.1.2, shelljs@0.3.0, console-browserify@1.1.0, minimatch@2.0.10, cli@0.6.6, lodash@3.7.0, htmlparser2@3.8.3)\r\n```\r\n\r\nI am actually trying to get https://github.com/AtomLinter/linter-htmlhint to work."},"comment":{"url":"https://api.github.com/repos/yaniswang/HTMLHint/issues/comments/146783507","html_url":"https://github.com/yaniswang/HTMLHint/issues/76#issuecomment-146783507","issue_url":"https://api.github.com/repos/yaniswang/HTMLHint/issues/76","id":146783507,"user":{"login":"devurandom","id":63082,"avatar_url":"https://avatars.githubusercontent.com/u/63082?v=3","gravatar_id":"","url":"https://api.github.com/users/devurandom","html_url":"https://github.com/devurandom","followers_url":"https://api.github.com/users/devurandom/followers","following_url":"https://api.github.com/users/devurandom/following{/other_user}","gists_url":"https://api.github.com/users/devurandom/gists{/gist_id}","starred_url":"https://api.github.com/users/devurandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devurandom/subscriptions","organizations_url":"https://api.github.com/users/devurandom/orgs","repos_url":"https://api.github.com/users/devurandom/repos","events_url":"https://api.github.com/users/devurandom/events{/privacy}","received_events_url":"https://api.github.com/users/devurandom/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T07:47:51Z","updated_at":"2015-10-09T07:47:51Z","body":"My NodeJS installation is just the original package from Ubuntu. I did not modify anything."}}