{"action":"created","issue":{"url":"https://api.github.com/repos/less/less.js/issues/2422","labels_url":"https://api.github.com/repos/less/less.js/issues/2422/labels{/name}","comments_url":"https://api.github.com/repos/less/less.js/issues/2422/comments","events_url":"https://api.github.com/repos/less/less.js/issues/2422/events","html_url":"https://github.com/less/less.js/issues/2422","id":55861252,"number":2422,"title":"less 2.3.1 and nodejs 0.10.35 bails if promise is missing","user":{"login":"jbergstroem","id":176984,"avatar_url":"https://avatars.githubusercontent.com/u/176984?v=3","gravatar_id":"","url":"https://api.github.com/users/jbergstroem","html_url":"https://github.com/jbergstroem","followers_url":"https://api.github.com/users/jbergstroem/followers","following_url":"https://api.github.com/users/jbergstroem/following{/other_user}","gists_url":"https://api.github.com/users/jbergstroem/gists{/gist_id}","starred_url":"https://api.github.com/users/jbergstroem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbergstroem/subscriptions","organizations_url":"https://api.github.com/users/jbergstroem/orgs","repos_url":"https://api.github.com/users/jbergstroem/repos","events_url":"https://api.github.com/users/jbergstroem/events{/privacy}","received_events_url":"https://api.github.com/users/jbergstroem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-29T06:22:23Z","updated_at":"2015-01-29T22:51:19Z","closed_at":null,"body":"promise is according to package.json an [optional dependency](https://github.com/less/less.js/blob/master/package.json#L48), but when requiring less I get an exception about promise missing:\r\n```\r\n$ node a.js \r\n\r\nmodule.js:340\r\n    throw err;\r\n          ^\r\nError: Cannot find module 'promise'\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> (/Users/jbergstroem/Work/test/node_modules/less/lib/less-node/file-manager.js:3:59)\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 Module.require (module.js:364:17)\r\n\r\n$ cat a.js\r\nvar foo = require('less');\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/less/less.js/issues/comments/72120792","html_url":"https://github.com/less/less.js/issues/2422#issuecomment-72120792","issue_url":"https://api.github.com/repos/less/less.js/issues/2422","id":72120792,"user":{"login":"jbergstroem","id":176984,"avatar_url":"https://avatars.githubusercontent.com/u/176984?v=3","gravatar_id":"","url":"https://api.github.com/users/jbergstroem","html_url":"https://github.com/jbergstroem","followers_url":"https://api.github.com/users/jbergstroem/followers","following_url":"https://api.github.com/users/jbergstroem/following{/other_user}","gists_url":"https://api.github.com/users/jbergstroem/gists{/gist_id}","starred_url":"https://api.github.com/users/jbergstroem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbergstroem/subscriptions","organizations_url":"https://api.github.com/users/jbergstroem/orgs","repos_url":"https://api.github.com/users/jbergstroem/repos","events_url":"https://api.github.com/users/jbergstroem/events{/privacy}","received_events_url":"https://api.github.com/users/jbergstroem/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T22:51:19Z","updated_at":"2015-01-29T22:51:19Z","body":"@lukeapage Its still pretty rare with installations of nodejs that natively supports promises (0.11.x and iojs, I think neither is common outside of testing)."}}