{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-less/issues/256","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-less/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-less/issues/256/comments","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-less/issues/256/events","html_url":"https://github.com/gruntjs/grunt-contrib-less/issues/256","id":59681791,"number":256,"title":"Nested @import showing \"Cannot read property 'length' of undefined\"","user":{"login":"ah-arch","id":4450690,"avatar_url":"https://avatars.githubusercontent.com/u/4450690?v=3","gravatar_id":"","url":"https://api.github.com/users/ah-arch","html_url":"https://github.com/ah-arch","followers_url":"https://api.github.com/users/ah-arch/followers","following_url":"https://api.github.com/users/ah-arch/following{/other_user}","gists_url":"https://api.github.com/users/ah-arch/gists{/gist_id}","starred_url":"https://api.github.com/users/ah-arch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ah-arch/subscriptions","organizations_url":"https://api.github.com/users/ah-arch/orgs","repos_url":"https://api.github.com/users/ah-arch/repos","events_url":"https://api.github.com/users/ah-arch/events{/privacy}","received_events_url":"https://api.github.com/users/ah-arch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-03T18:12:37Z","updated_at":"2015-04-18T10:31:58Z","closed_at":null,"body":"I have set up 2 files, one of which imports the other:\r\n*test.less*:\r\n```\r\n.test {\r\n    @import 'test2';\r\n}\r\n```\r\n*test2.less*:\r\n```\r\n.test2 {\r\n    color: blue;\r\n}\r\n```\r\nThis compiles fine using the less compiler as well as the maven less plugin. However, there are errors using this plugin.\r\n- v0.9.0:\r\n  `SyntaxError: Cannot read property 'length' of undefined in test.less on line null, column 0`\r\n- v1.0.0:\r\n  `TypeError: Cannot read property 'length' of undefined`\r\n"},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-less/issues/comments/94152669","html_url":"https://github.com/gruntjs/grunt-contrib-less/issues/256#issuecomment-94152669","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-less/issues/256","id":94152669,"user":{"login":"MojoJojo","id":7907416,"avatar_url":"https://avatars.githubusercontent.com/u/7907416?v=3","gravatar_id":"","url":"https://api.github.com/users/MojoJojo","html_url":"https://github.com/MojoJojo","followers_url":"https://api.github.com/users/MojoJojo/followers","following_url":"https://api.github.com/users/MojoJojo/following{/other_user}","gists_url":"https://api.github.com/users/MojoJojo/gists{/gist_id}","starred_url":"https://api.github.com/users/MojoJojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MojoJojo/subscriptions","organizations_url":"https://api.github.com/users/MojoJojo/orgs","repos_url":"https://api.github.com/users/MojoJojo/repos","events_url":"https://api.github.com/users/MojoJojo/events{/privacy}","received_events_url":"https://api.github.com/users/MojoJojo/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T10:31:58Z","updated_at":"2015-04-18T10:31:58Z","body":"Yeah. Facing same issue with nested/scoped imports. The error message is not too descriptive either. Were you able to get it to work? Any workarounds?"}}