Graviton-App: all actions causes to throw errors
everything i try to change in the settings or open files throws a error.
Error An error has appeared! Check the console on developer tools for more info.
sql.svg:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
php.svg:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1153)
at runMode (codemirror.js:1210)
at highlightLine (codemirror.js:1056)
at getLineStyles (codemirror.js:1100)
at buildLineContent (codemirror.js:1733)
at getLineContent (codemirror.js:2123)
at buildLineElement (codemirror.js:2204)
at patchDisplay (codemirror.js:4192)
at updateDisplayIfNeeded (codemirror.js:4101)
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1153)
at runMode (codemirror.js:1210)
at highlightLine (codemirror.js:1056)
at codemirror.js:3950
at LeafChunk.iterN (codemirror.js:5596)
at Doc.iterN (codemirror.js:5708)
at Doc.iter (codemirror.js:6106)
at highlightWorker (codemirror.js:3946)
at codemirror.js:148
plugins.js:31 Uncaught ReferenceError: content is not defined
at openPlugins (plugins.js:31)
at HTMLButtonElement.onclick (index.html:109)
API.js:348 <div id="g_explorer" opened="false">…</div>
API.js:348 <div id="g_explorer" opened="false">…</div>
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1153)
at runMode (codemirror.js:1210)
at highlightLine (codemirror.js:1056)
at getLineStyles (codemirror.js:1100)
at buildLineContent (codemirror.js:1733)
at updateExternalMeasurement (codemirror.js:2345)
at prepareMeasureForLine (codemirror.js:2381)
at coordsCharInner (codemirror.js:2730)
at coordsChar (codemirror.js:2698)
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1153)
at processLine (codemirror.js:1138)
at codemirror.js:1120
at LeafChunk.iterN (codemirror.js:5596)
at Doc.iterN (codemirror.js:5708)
at Doc.iter (codemirror.js:6106)
at getContextBefore (codemirror.js:1119)
at getLineStyles (codemirror.js:1098)
at buildLineContent (codemirror.js:1733)
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1153)
at runMode (codemirror.js:1210)
at highlightLine (codemirror.js:1056)
at getLineStyles (codemirror.js:1100)
at buildLineContent (codemirror.js:1733)
at getLineContent (codemirror.js:2123)
at buildLineElement (codemirror.js:2204)
at patchDisplay (codemirror.js:4192)
at updateDisplayIfNeeded (codemirror.js:4101)
dispatch @ php.js:187
readToken @ codemirror.js:1153
runMode @ codemirror.js:1210
highlightLine @ codemirror.js:1056
getLineStyles @ codemirror.js:1100
buildLineContent @ codemirror.js:1733
getLineContent @ codemirror.js:2123
buildLineElement @ codemirror.js:2204
patchDisplay @ codemirror.js:4192
updateDisplayIfNeeded @ codemirror.js:4101
endOperation_W1 @ codemirror.js:3809
endOperations @ codemirror.js:3786
(anonymous) @ codemirror.js:3775
finishOperation @ codemirror.js:2035
endOperation @ codemirror.js:3772
runInOp @ codemirror.js:3901
operation @ codemirror.js:8594
forEachCodeMirror @ codemirror.js:6613
(anonymous) @ codemirror.js:6630
setTimeout (async)
(anonymous) @ codemirror.js:6628
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 52 (23 by maintainers)
YES!
let’s goooooooooooooooooooo
thank you @alexbrandonketchum !!
gosh 41 comments for a 36 letters long fix 😃
thanks alot 😃
Looks like we have an hero here!! , let me push that to the source, 1m
This is a fairly old Codemirror issue: https://github.com/codemirror/CodeMirror/issues/4202
Adding
<script src="src/mode/clike/clike.js"></script>to index.html fixed it for me.thank you for your fast responses and really look forward for the compatibility 👍