Giter Club home page Giter Club logo

Comments (52)

legendarywaffle avatar legendarywaffle commented on May 12, 2024 4

afbeelding

YES!

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024 1

thank you for your fast responses and really look forward for the compatibility 👍

from graviton-app.

alexketchum avatar alexketchum commented on May 12, 2024 1

This is a fairly old Codemirror issue: codemirror/codemirror5#4202

Adding <script src="src/mode/clike/clike.js"></script> to index.html fixed it for me.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024 1

Looks like we have an hero here!! , let me push that to the source, 1m

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024 1

gosh 41 comments
for a 36 letters long fix :)

thanks alot :)

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024 1

let's goooooooooooooooooooo

thank you @alexbrandonketchum !!

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

Have you tried reinstalling it? And, can you say me your OS? thanks

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

yes i tried older versions,

i'm running windows.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

Try this:
1.Open start menu
2. Type %appdata%
3.Delete the folder ".graviton"
4.Install the last Graviton version (1.0.1)

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

still no success same error.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

What version have you downloaded, 32 bits or 64?

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

64 bit

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

i also tried 32 bit with the same issue.

does graviton need any dependecies installation to make it work?.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

No, it doesn't, it should work fine

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

then i have no clue why my installation throws errors.

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

i hope you could help me solve this issue,

i'm really interested to test this out.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

Can you trying building from source? See https://github.com/Graviton-Code-Editor/Graviton-App/blob/master/BUILDING.md

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

still the same. same error.

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

the building made me open html files but still with php files its a bit no.

i'm trying to open php files. that makes the editor to completely break.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

I don't have such an error, in fact, nobody does.
Check you have the last version....

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

i use latest version.

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

maybe php not supported?

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

It's not actually supported, but opening a php file shouldn't throw any error

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

could support be added?

and its giving so many errors just opening a folder.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

I will add support, but your problem looks like another thing

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

i tried it on my main pc:
this seems more that there is no php support.

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
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)

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

You have tried installing Graviton in two pcs and you get the same error?

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

yes, yes

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

since the last commit the error log is now 50% smaller. also in the first pc now.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

The only errorI get is the file not found, which refers to the icon on the explorer, which doesn't exist. But there is nothing more

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

i made a video:
https://www.youtube.com/watch?v=R9WA8tCy-eg

this is what happens on both of my pcs

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

The error "file not found..." will be fixed on 1.0.2

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

Okay, I think the bug is about CodeMirror, I am sure that if you open an empty PHP file it will open without error. I will take a look, thank you! 💯

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

Hello!
Can you please download the source, and test it by your self? I think it must work this time

See this : https://github.com/Graviton-Code-Editor/Graviton-App/blob/master/BUILDING.md

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at getLineStyles (codemirror.js:1096)
at buildLineContent (codemirror.js:1729)
at getLineContent (codemirror.js:2119)
at buildLineElement (codemirror.js:2200)
at patchDisplay (codemirror.js:4186)
at updateDisplayIfNeeded (codemirror.js:4095)
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at codemirror.js:3946
at LeafChunk.iterN (codemirror.js:5579)
at Doc.iterN (codemirror.js:5681)
at Doc.iter (codemirror.js:6067)
at highlightWorker (codemirror.js:3942)
at codemirror.js:148
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at getLineStyles (codemirror.js:1096)
at buildLineContent (codemirror.js:1729)
at getLineContent (codemirror.js:2119)
at buildLineElement (codemirror.js:2200)
at patchDisplay (codemirror.js:4186)
at updateDisplayIfNeeded (codemirror.js:4095)

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

This is so weird... It's definitely a Codemirror thing

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

Can you create a new file, and then paste the code slowly so you can see when the error throws? Or, can you share the code, so I can test it by my self please?

Thanks

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

ehm i can open an empty file but its as useless as it has with pre coded content.

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

Uncaught TypeError: Cannot read property 'prev' of undefined at Object.dispatch [as token] (php.js:187) at readToken (codemirror.js:1149) at runMode (codemirror.js:1206) at highlightLine (codemirror.js:1052) at getLineStyles (codemirror.js:1096) at buildLineContent (codemirror.js:1729) at getLineContent (codemirror.js:2119) at buildLineElement (codemirror.js:2200) at patchDisplay (codemirror.js:4186) at updateDisplayIfNeeded (codemirror.js:4095) php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined at Object.dispatch [as token] (php.js:187) at readToken (codemirror.js:1149) at runMode (codemirror.js:1206) at highlightLine (codemirror.js:1052) at codemirror.js:3946 at LeafChunk.iterN (codemirror.js:5579) at Doc.iterN (codemirror.js:5681) at Doc.iter (codemirror.js:6067) at highlightWorker (codemirror.js:3942) at codemirror.js:148 php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined at Object.dispatch [as token] (php.js:187) at readToken (codemirror.js:1149) at runMode (codemirror.js:1206) at highlightLine (codemirror.js:1052) at getLineStyles (codemirror.js:1096) at buildLineContent (codemirror.js:1729) at getLineContent (codemirror.js:2119) at buildLineElement (codemirror.js:2200) at patchDisplay (codemirror.js:4186) at updateDisplayIfNeeded (codemirror.js:4095)

this is the error. no matter how i do it.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

I don't have such a bug:

imagen

😢

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

are you sure i dont need to install any runtimes that the app needs?

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

I am very sure

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

😭

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

do you have discord or else?
i can screenshare everthing.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

Alright! git pull origin master , and let us know if it works @ItsPerry , thanks @alexbrandonketchum

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

afbeelding

from graviton-app.

alexketchum avatar alexketchum commented on May 12, 2024

I just did a pull, there's a spelling error:
<script src="src/mode/clicke/clicke.js"></script>

it should be clike instead of clicke

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

I am... Fixed! try now

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

ehm the list got bigger.

Failed to load resource: net::ERR_FILE_NOT_FOUND
2php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at getLineStyles (codemirror.js:1096)
at buildLineContent (codemirror.js:1729)
at getLineContent (codemirror.js:2119)
at updateLineText (codemirror.js:2127)
at updateLineForChanges (codemirror.js:2076)
at patchDisplay (codemirror.js:4194)
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at codemirror.js:3946
at LeafChunk.iterN (codemirror.js:5579)
at Doc.iterN (codemirror.js:5681)
at Doc.iter (codemirror.js:6067)
at highlightWorker (codemirror.js:3942)
at codemirror.js:148
2php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at getLineStyles (codemirror.js:1096)
at buildLineContent (codemirror.js:1729)
at getLineContent (codemirror.js:2119)
at updateLineText (codemirror.js:2127)
at updateLineForChanges (codemirror.js:2076)
at patchDisplay (codemirror.js:4194)
2php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at getLineStyles (codemirror.js:1096)
at buildLineContent (codemirror.js:1729)
at getLineContent (codemirror.js:2119)
at updateLineText (codemirror.js:2127)
at updateLineForChanges (codemirror.js:2076)
at prepareMeasureForLine (codemirror.js:2373)
2php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at getLineStyles (codemirror.js:1096)
at buildLineContent (codemirror.js:1729)
at getLineContent (codemirror.js:2119)
at updateLineText (codemirror.js:2127)
at updateLineForChanges (codemirror.js:2076)
at patchDisplay (codemirror.js:4194)
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at codemirror.js:3946
at LeafChunk.iterN (codemirror.js:5579)
at Doc.iterN (codemirror.js:5681)
at Doc.iter (codemirror.js:6067)
at highlightWorker (codemirror.js:3942)
at codemirror.js:148
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at getLineStyles (codemirror.js:1096)
at buildLineContent (codemirror.js:1729)
at getLineContent (codemirror.js:2119)
at updateLineText (codemirror.js:2127)
at updateLineForChanges (codemirror.js:2076)
at prepareMeasureForLine (codemirror.js:2373)
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
at Object.dispatch [as token] (php.js:187)
at readToken (codemirror.js:1149)
at runMode (codemirror.js:1206)
at highlightLine (codemirror.js:1052)
at getLineStyles (codemirror.js:1096)
at buildLineContent (codemirror.js:1729)
at getLineContent (codemirror.js:2119)
at updateLineText (codemirror.js:2127)
at updateLineForChanges (codemirror.js:2076)
at patchDisplay (codemirror.js:4194)
dispatch @ php.js:187
readToken @ codemirror.js:1149
runMode @ codemirror.js:1206
highlightLine @ codemirror.js:1052
getLineStyles @ codemirror.js:1096
buildLineContent @ codemirror.js:1729
getLineContent @ codemirror.js:2119
updateLineText @ codemirror.js:2127
updateLineForChanges @ codemirror.js:2076
patchDisplay @ codemirror.js:4194
updateDisplayIfNeeded @ codemirror.js:4095
endOperation_W1 @ codemirror.js:3805
endOperations @ codemirror.js:3782
(anonymous) @ codemirror.js:3771
finishOperation @ codemirror.js:2031
endOperation @ codemirror.js:3768
runInOp @ codemirror.js:3897
operation @ codemirror.js:8535
forEachCodeMirror @ codemirror.js:6564
(anonymous) @ codemirror.js:6581
setTimeout (async)
(anonymous) @ codemirror.js:6579

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

it only happens with PHP?

from graviton-app.

legendarywaffle avatar legendarywaffle commented on May 12, 2024

well html is the only one that worked for me.

from graviton-app.

marc2332 avatar marc2332 commented on May 12, 2024

Try now

from graviton-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.