{"action":"created","issue":{"url":"https://api.github.com/repos/sass/node-sass/issues/1186","labels_url":"https://api.github.com/repos/sass/node-sass/issues/1186/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass/issues/1186/comments","events_url":"https://api.github.com/repos/sass/node-sass/issues/1186/events","html_url":"https://github.com/sass/node-sass/issues/1186","id":109148647,"number":1186,"title":"Error reported on wrong line","user":{"login":"martinleopold","id":1692826,"avatar_url":"https://avatars.githubusercontent.com/u/1692826?v=3","gravatar_id":"","url":"https://api.github.com/users/martinleopold","html_url":"https://github.com/martinleopold","followers_url":"https://api.github.com/users/martinleopold/followers","following_url":"https://api.github.com/users/martinleopold/following{/other_user}","gists_url":"https://api.github.com/users/martinleopold/gists{/gist_id}","starred_url":"https://api.github.com/users/martinleopold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinleopold/subscriptions","organizations_url":"https://api.github.com/users/martinleopold/orgs","repos_url":"https://api.github.com/users/martinleopold/repos","events_url":"https://api.github.com/users/martinleopold/events{/privacy}","received_events_url":"https://api.github.com/users/martinleopold/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-30T18:12:24Z","updated_at":"2015-10-01T01:02:37Z","closed_at":"2015-10-01T01:02:37Z","body":"Using node-sass 3.3.3 (through gulp-sass 2.0.4), I discovered an issue through working on an ionic project (which includes a lot of scss partials). I narrowed the issue down to the following simple test case:\r\n\r\n```\r\n$percentage: 10%; // line 1\r\n// line 2\r\n$conflict: $percentage + 20px; // line 3\r\n```\r\n\r\nThis results in node sass reporting an error on line 1:\r\n```\r\nError: test.scss\r\n  1:14  Incompatible units: 'px' and '%'.\r\n    at options.error (/Users/ml/Documents/_Work/dc/_local/dc/node_modules/node-sass/lib/index.js:277:32)\r\n```\r\n\r\nwhile ruby sass reports the corret line:\r\n```\r\nError: Incompatible units: 'px' and '%'.\r\n        on line 3 of test.scss\r\n  Use --trace for backtrace.\r\n```\r\n\r\nYou can imagine this results in hard to find errors, since the error message points to some line while the error is actually on another line in a different file etc.\r\nI was only able to track it down through using ruby sass."},"comment":{"url":"https://api.github.com/repos/sass/node-sass/issues/comments/144586949","html_url":"https://github.com/sass/node-sass/issues/1186#issuecomment-144586949","issue_url":"https://api.github.com/repos/sass/node-sass/issues/1186","id":144586949,"user":{"login":"xzyfer","id":579928,"avatar_url":"https://avatars.githubusercontent.com/u/579928?v=3","gravatar_id":"","url":"https://api.github.com/users/xzyfer","html_url":"https://github.com/xzyfer","followers_url":"https://api.github.com/users/xzyfer/followers","following_url":"https://api.github.com/users/xzyfer/following{/other_user}","gists_url":"https://api.github.com/users/xzyfer/gists{/gist_id}","starred_url":"https://api.github.com/users/xzyfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzyfer/subscriptions","organizations_url":"https://api.github.com/users/xzyfer/orgs","repos_url":"https://api.github.com/users/xzyfer/repos","events_url":"https://api.github.com/users/xzyfer/events{/privacy}","received_events_url":"https://api.github.com/users/xzyfer/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T01:02:37Z","updated_at":"2015-10-01T01:02:37Z","body":"Thanks @martinleopold! I've confirmed this is a LibSass bug. Tracking upstream in https://github.com/sass/libsass/issues/1577"}}