bdkjones/CodeKit — Issue #147: Cannot call method 'charAt' of undefined
Author: chadclark
Created: 2012-01-14 19:54:35+00:00
State: open

After updating to the latest beta, Version 1.0 (4742), I get the following error when trying to compile a LESS file. Before the update, I did not receive this error.

TypeError: Cannot call method 'charAt' of undefined
at getLocation (/Applications/CodeKit.app/Contents/Resources/engines/less/lib/less/parser.js:204:34)
at new LessError (/Applications/CodeKit.app/Contents/Resources/engines/less/lib/less/parser.js:213:19)
at Object.toCSS (/Applications/CodeKit.app/Contents/Resources/engines/less/lib/less/parser.js:384:69)
at /Applications/CodeKit.app/Contents/Resources/engines/less/bin/lessc:103:28
at /Applications/CodeKit.app/Contents/Resources/engines/less/lib/less/parser.js:428:40
at /Applications/CodeKit.app/Contents/Resources/engines/less/lib/less/parser.js:94:48
at /Applications/CodeKit.app/Contents/Resources/engines/less/lib/less/index.js:113:15
at Object.parse (/Applications/CodeKit.app/Contents/Resources/engines/less/lib/less/parser.js:430:17)
at /Applications/CodeKit.app/Contents/Resources/engines/less/lib/less/index.js:112:14
at [object Object]. (fs.js:107:5)

Any ideas? Something up with parser.js?