{"action":"closed","issue":{"url":"https://api.github.com/repos/ManRueda/jade-autocompile/issues/3","labels_url":"https://api.github.com/repos/ManRueda/jade-autocompile/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ManRueda/jade-autocompile/issues/3/comments","events_url":"https://api.github.com/repos/ManRueda/jade-autocompile/issues/3/events","html_url":"https://github.com/ManRueda/jade-autocompile/issues/3","id":97649008,"number":3,"title":"include not working ","user":{"login":"lordgodric","id":12566504,"avatar_url":"https://avatars.githubusercontent.com/u/12566504?v=3","gravatar_id":"","url":"https://api.github.com/users/lordgodric","html_url":"https://github.com/lordgodric","followers_url":"https://api.github.com/users/lordgodric/followers","following_url":"https://api.github.com/users/lordgodric/following{/other_user}","gists_url":"https://api.github.com/users/lordgodric/gists{/gist_id}","starred_url":"https://api.github.com/users/lordgodric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordgodric/subscriptions","organizations_url":"https://api.github.com/users/lordgodric/orgs","repos_url":"https://api.github.com/users/lordgodric/repos","events_url":"https://api.github.com/users/lordgodric/events{/privacy}","received_events_url":"https://api.github.com/users/lordgodric/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ManRueda","id":2576444,"avatar_url":"https://avatars.githubusercontent.com/u/2576444?v=3","gravatar_id":"","url":"https://api.github.com/users/ManRueda","html_url":"https://github.com/ManRueda","followers_url":"https://api.github.com/users/ManRueda/followers","following_url":"https://api.github.com/users/ManRueda/following{/other_user}","gists_url":"https://api.github.com/users/ManRueda/gists{/gist_id}","starred_url":"https://api.github.com/users/ManRueda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManRueda/subscriptions","organizations_url":"https://api.github.com/users/ManRueda/orgs","repos_url":"https://api.github.com/users/ManRueda/repos","events_url":"https://api.github.com/users/ManRueda/events{/privacy}","received_events_url":"https://api.github.com/users/ManRueda/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-07-28T08:46:52Z","updated_at":"2015-07-28T14:32:23Z","closed_at":"2015-07-28T14:32:23Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.0.2\r\n**System**: Mac OS X 10.10.4\r\n**Thrown From**: [jade-autocompile](git+https://github.com/ManRueda/jade-autocompile) package, v0.6.2\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: Jade:3\r\n    1| doctype html\r\n    2| html\r\n  > 3|   include ./includes/head.jade\r\n    4|   body\r\n    5|     h1 My site\r\n    6|     \r\n\r\nthe \"filename\" option is required to use \"include\" with \"relative\" paths\r\n\r\n```\r\nAt /Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/runtime.js:240\r\n\r\nError: Jade:3\r\n    1| doctype html\r\n    2| html\r\n  > 3|   include ./includes/head.jade\r\n    4|   body\r\n    5|     h1 My site\r\n    6|     \r\n\r\nthe \"filename\" option is required to use \"include\" with \"relative\" paths\r\n  at Parser.resolvePath (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/parser.js:486:13)\r\n  at Parser.parseInclude (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/parser.js:585:21)\r\n  at Parser.parseExpr (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/parser.js:223:21)\r\n  at Parser.block (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/parser.js:729:25)\r\n  at Parser.tag (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/parser.js:838:24)\r\n  at Parser.parseTag (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/parser.js:759:17)\r\n  at Parser.parseExpr (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/parser.js:211:21)\r\n  at Parser.parse (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/parser.js:122:25)\r\n  at parse (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/index.js:104:21)\r\n  at Object.exports.compile (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/index.js:205:16)\r\n  at handleTemplateCache (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/index.js:174:25)\r\n  at Object.exports.render (/Users/godric/.atom/packages/jade-autocompile/node_modules/jade/lib/index.js:349:10)\r\n  at /Users/godric/.atom/packages/jade-autocompile/lib/jade-autocompile.js:122:25\r\n  at Object.exports.allowUnsafeEval (/Users/godric/.atom/packages/jade-autocompile/node_modules/loophole/lib/loophole.js:14:14)\r\n  at /Users/godric/.atom/packages/jade-autocompile/lib/jade-autocompile.js:121:27\r\n  at Object.exports.allowUnsafeNewFunction (/Users/godric/.atom/packages/jade-autocompile/node_modules/loophole/lib/loophole.js:25:14)\r\n  at readFile (/Users/godric/.atom/packages/jade-autocompile/lib/jade-autocompile.js:120:35)\r\n  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:379:3)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -1:11.7.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -1:10.4.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:59.1.0 core:move-right (atom-text-editor.editor.is-focused)\r\n     -0:58.7.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -0:58.4.0 core:save (atom-text-editor.editor.is-focused)\r\n  7x -0:50.1.0 core:move-right (atom-text-editor.editor.is-focused)\r\n  8x -0:48.8.0 core:move-left (atom-text-editor.editor.is-focused.autocomplete-active)\r\n     -0:46.9.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:45.2.0 core:move-left (atom-text-editor.editor.is-focused)\r\n     -0:44.5.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -0:44 core:save (atom-text-editor.editor.is-focused)\r\n  3x -0:35.6.0 core:move-right (atom-text-editor.editor.is-focused)\r\n  2x -0:20.6.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:07.6.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)\r\n     -0:07.6.0 core:cancel (atom-text-editor.editor.is-focused)\r\n     -0:01.5.0 core:save (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"one-dark-ui\",\r\n      \"atom-material-syntax\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-beautify, v0.28.8\r\natom-jade, v0.3.0\r\natom-material-syntax, v0.2.1\r\nautocomplete-sass, v0.1.0\r\ncolor-picker, v2.0.11\r\ncss-snippets, v0.8.0\r\nemmet, v2.3.12\r\njade-autocompile, v0.6.2\r\nlanguage-jade, v0.5.1\r\npigments, v0.9.2\r\nsass-autocompile, v0.7.3\r\nsass-watch, v0.3.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n![2015-07-28 11 43 22](https://cloud.githubusercontent.com/assets/12566504/8927154/12403d7c-351e-11e5-83bf-109aa6a16d32.png)\r\n"}}