{"action":"created","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/1954","repository_url":"https://api.github.com/repos/stylelint/stylelint","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/1954/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/1954/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/1954/events","html_url":"https://github.com/stylelint/stylelint/issues/1954","id":181263453,"number":1954,"title":"Set is not defined error when requiring stylelint","user":{"login":"isochronous","id":774609,"avatar_url":"https://avatars.githubusercontent.com/u/774609?v=3","gravatar_id":"","url":"https://api.github.com/users/isochronous","html_url":"https://github.com/isochronous","followers_url":"https://api.github.com/users/isochronous/followers","following_url":"https://api.github.com/users/isochronous/following{/other_user}","gists_url":"https://api.github.com/users/isochronous/gists{/gist_id}","starred_url":"https://api.github.com/users/isochronous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isochronous/subscriptions","organizations_url":"https://api.github.com/users/isochronous/orgs","repos_url":"https://api.github.com/users/isochronous/repos","events_url":"https://api.github.com/users/isochronous/events{/privacy}","received_events_url":"https://api.github.com/users/isochronous/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stylelint/stylelint/labels/status:%20discussion","name":"status: discussion","color":"0023ee"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-05T20:55:29Z","updated_at":"2016-10-05T21:36:27Z","closed_at":null,"body":"<!-- Please answer the following questions. Issues that don't use this template will be closed. -->\r\n\r\n> Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)?\r\n\r\nA bug where I cannot even `require('stylelint')` without getting a fatal exception.\r\n\r\n> Which rule, if any, is this issue related to?\r\n\r\nNot related to any rule\r\n\r\n> What CSS is needed to reproduce this issue?\r\n\r\nnone\r\n\r\n> What stylelint configuration is needed to reproduce this issue?\r\n\r\nnone\r\n\r\n> Which version of stylelint are you using?\r\n\r\n`7.3.1`\r\n\r\n> How are you running stylelint: CLI, PostCSS plugin, Node API?\r\n\r\nCurrently using gulp-stylelint, but the same issue occurs if I try to `var stylelint = require('stylelint');` or `var stylelint = require('postcss-stylelint');`\r\n\r\n> Does your issue relate to non-standard syntax (e.g. SCSS, nesting, etc.)?\r\n\r\nNo\r\n\r\n> What did you expect to happen?\r\n\r\nTo not get an error by simply requiring the library\r\n\r\n> What actually happened (e.g. what warnings or errors you are getting)?\r\n\r\nThis is the error I get whenever I try to require stylelint or any lib that uses stylelint.\r\n\r\n```\r\nReferenceError: Set is not defined\r\n    at Object.<anonymous> (D:\\Projects\\AI\\main\\somePath\\node_modules\\stylelint\\dist\\reference\\keywordSets.js:14:51)\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    at require (module.js:380:17)\r\n    at Object.<anonymous> (D:\\Projects\\AI\\main\\somePath\\node_modules\\stylelint\\dist\\utils\\findAnimationName.js:8:20)\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```\r\n\r\nThis is on a windows machine, btw.  The problem occurs using both node v4.6.0 and v6.7.0.  Let me know if you'd like more details."},"comment":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/comments/251806850","html_url":"https://github.com/stylelint/stylelint/issues/1954#issuecomment-251806850","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/1954","id":251806850,"user":{"login":"evilebottnawi","id":4567934,"avatar_url":"https://avatars.githubusercontent.com/u/4567934?v=3","gravatar_id":"","url":"https://api.github.com/users/evilebottnawi","html_url":"https://github.com/evilebottnawi","followers_url":"https://api.github.com/users/evilebottnawi/followers","following_url":"https://api.github.com/users/evilebottnawi/following{/other_user}","gists_url":"https://api.github.com/users/evilebottnawi/gists{/gist_id}","starred_url":"https://api.github.com/users/evilebottnawi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilebottnawi/subscriptions","organizations_url":"https://api.github.com/users/evilebottnawi/orgs","repos_url":"https://api.github.com/users/evilebottnawi/repos","events_url":"https://api.github.com/users/evilebottnawi/events{/privacy}","received_events_url":"https://api.github.com/users/evilebottnawi/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T21:36:27Z","updated_at":"2016-10-05T21:36:27Z","body":"@isochronous can you try in your app/library `console.dir(Set)`?"}}
{"actor":{"display_login":"evilebottnawi"}}