{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-stylelint/issues/1","repository_url":"https://api.github.com/repos/AtomLinter/linter-stylelint","labels_url":"https://api.github.com/repos/AtomLinter/linter-stylelint/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-stylelint/issues/1/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-stylelint/issues/1/events","html_url":"https://github.com/AtomLinter/linter-stylelint/issues/1","id":97403899,"number":1,"title":"Failed to load the linter-stylelint package","user":{"login":"ismay","id":7355199,"avatar_url":"https://avatars.githubusercontent.com/u/7355199?v=3","gravatar_id":"","url":"https://api.github.com/users/ismay","html_url":"https://github.com/ismay","followers_url":"https://api.github.com/users/ismay/followers","following_url":"https://api.github.com/users/ismay/following{/other_user}","gists_url":"https://api.github.com/users/ismay/gists{/gist_id}","starred_url":"https://api.github.com/users/ismay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismay/subscriptions","organizations_url":"https://api.github.com/users/ismay/orgs","repos_url":"https://api.github.com/users/ismay/repos","events_url":"https://api.github.com/users/ismay/events{/privacy}","received_events_url":"https://api.github.com/users/ismay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-07-27T07:40:26Z","updated_at":"2016-03-10T06:40:43Z","closed_at":"2015-07-27T10:02:32Z","body":"I was trying out your plugin, but it threw an error after I installed it: `cannot find module `atom-linter`. Here's my atom error report:\r\n\r\n**Atom Version**: 1.0.2\r\n**System**: Mac OS X 10.10.4\r\n**Thrown From**: [linter-stylelint](git+https://github.com/1000ch/linter-stylelint) package, v0.2.3\r\n\r\n\r\n### Stack Trace\r\n\r\nFailed to load the linter-stylelint package\r\n\r\n```\r\nAt Cannot find module 'atom-linter'\r\n\r\nError: Cannot find module 'atom-linter'\r\n  at Module._resolveFilename (module.js:328:15)\r\n  at Function.Module._resolveFilename (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)\r\n  at Function.Module._load (module.js:270:25)\r\n  at Module.require (module.js:357:17)\r\n  at require (module.js:376:17)\r\n  at Object.<anonymous> (/Users/ismay/.atom/packages/linter-stylelint/index.js:17:19)\r\n  at Module._compile (module.js:452:26)\r\n  at Object.loadFile [as .js] (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/babel.js:166:19)\r\n  at Module.load (module.js:347:32)\r\n  at Function.Module._load (module.js:302:12)\r\n  at Module.require (module.js:357:17)\r\n  at require (module.js:376:17)\r\n  at Package.module.exports.Package.requireMainModule (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:709:34)\r\n  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:188:28\r\n  at Package.module.exports.Package.measure (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:165:15)\r\n  at Package.module.exports.Package.load (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:179:12)\r\n  at PackageManager.module.exports.PackageManager.loadPackage (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package-manager.js:372:14)\r\n  at PackageManager.module.exports.PackageManager.activatePackage (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package-manager.js:451:30)\r\n  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:368:29\r\n  at exit (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:59:16)\r\n  at triggerExitCallback (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)\r\n  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:220:18\r\n  at Socket.<anonymous> (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)\r\n  at emitOne (events.js:82:20)\r\n  at Socket.emit (events.js:166:7)\r\n  at Pipe.close (net.js:464:12)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:30.8.0 settings-view:open (atom-text-editor.editor.is-focused)\r\n     -0:17.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"audioBeep\": false\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\neditorconfig, v1.0.1\r\nhighlight-selected, v0.10.1\r\nlinter, v1.2.4\r\nlinter-eslint, v3.0.1\r\nlinter-stylelint, v0.2.3\r\nminimap, v4.12.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-stylelint/issues/comments/194697044","html_url":"https://github.com/AtomLinter/linter-stylelint/issues/1#issuecomment-194697044","issue_url":"https://api.github.com/repos/AtomLinter/linter-stylelint/issues/1","id":194697044,"user":{"login":"mech","id":5850,"avatar_url":"https://avatars.githubusercontent.com/u/5850?v=3","gravatar_id":"","url":"https://api.github.com/users/mech","html_url":"https://github.com/mech","followers_url":"https://api.github.com/users/mech/followers","following_url":"https://api.github.com/users/mech/following{/other_user}","gists_url":"https://api.github.com/users/mech/gists{/gist_id}","starred_url":"https://api.github.com/users/mech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mech/subscriptions","organizations_url":"https://api.github.com/users/mech/orgs","repos_url":"https://api.github.com/users/mech/repos","events_url":"https://api.github.com/users/mech/events{/privacy}","received_events_url":"https://api.github.com/users/mech/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T06:40:43Z","updated_at":"2016-03-10T06:40:43Z","body":"I have install a new Node using nvm, then delete my local project's `node_modules` and `npm install` again. I make sure my global do not have anything unusual installed. Then I uninstall and install the Atom linter-styelint again. I have the same result. I am using:\r\n\r\n```\r\n// In my package.json\r\n\"stylelint\": \"^4.5.1\",\r\n\"stylelint-config-standard\": \"^4.0.0\"\r\n```\r\n\r\nAnd linter-stylelint is at version 1.14.0.\r\n\r\n@ntwb I look at the `.atom/packages/linter-stylelint/node_modules` and it says it was on version 3.0.0.\r\n\r\nI also have my `.stylelintrc` on my project folder. I think the linter will respect that usually right?"}}