spsdco / notes

Awesome note taking.
MIT License
561 stars 54 forks source link

Cannot read property 'compiled' of undefined #125

Closed miguel-negrao closed 10 years ago

miguel-negrao commented 10 years ago

After upgrading to 1.1.0, when I open the app I get:

Uncaught node.js Error 

TypeError: Cannot read property 'compiled' of undefined
    at compileMode (file:///tmp/.org.chromium.Chromium.MwyUxY/public/application.js:14751:19)
    at compileLanguage (file:///tmp/.org.chromium.Chromium.MwyUxY/public/application.js:14822:9)
    at highlight (file:///tmp/.org.chromium.Chromium.MwyUxY/public/application.js:14971:9)
    at Object.Editor.marked.setOptions.highlight (file:///tmp/.org.chromium.Chromium.MwyUxY/public/application.js:10718:29)
    at Parser.tok (file:///tmp/.org.chromium.Chromium.MwyUxY/public/application.js:14302:37)
    at Parser.parse (file:///tmp/.org.chromium.Chromium.MwyUxY/public/application.js:14243:21)
    at Function.Parser.parse (file:///tmp/.org.chromium.Chromium.MwyUxY/public/application.js:14230:21)
    at marked (file:///tmp/.org.chromium.Chromium.MwyUxY/public/application.js:14547:23)
    at eval (file:///tmp/.org.chromium.Chromium.MwyUxY/public/application.js:9844:32)
    at Array.forEach (native)
miguel-negrao commented 10 years ago

Note: springseed 1.0.2 works fine, 1.1 gives the error above...

megubyte commented 10 years ago

Hopefully this is fixed with a newer build system sometime. I'll put it on a milestone.

megubyte commented 10 years ago

This should be fixed.