tststs / atom-ternjs

JavaScript code intelligence for atom with tern.js and autocomplete-plus
MIT License
627 stars 76 forks source link

UncaughtException: TypeError: Cannot read property 'getProp' of undefined. Restarting Server... #328

Open axe-z opened 7 years ago

axe-z commented 7 years ago

I get this while scrolling with stuff highlighted, it's really random... not sure what is happening ...

ibio commented 6 years ago

Same here...

TroublemakerSt commented 6 years ago

Same! Really annoying

tststs commented 5 years ago

Without code, example repo where the issue happens or a stack trace i'm not able to anything.

gilnatab commented 5 years ago

Me too! Too annoying...

Altamill commented 5 years ago

I found ternjs triggered getProp error only when the cursor was positioned in the Vue code ")" React doesn't have this performance Return version 0.18.5 without prompt

marcobelo commented 5 years ago

It started here, really annoying, i'm coding Vue.

CristianaPereira commented 5 years ago

Same here. Using Vue too.

aielloine commented 5 years ago

Same here but not use vue

Cobatkao commented 5 years ago

same here, coding .vue, it really annoying

ednilsonamaral commented 5 years ago

any solution?

torlun commented 5 years ago

Same here. Vue files only. I've had to disable ternjs. Errors popping up non stop.

unoscar commented 5 years ago

Same Here, not using Vue

capjuancode commented 5 years ago

Same Here, with Vue

IanRr commented 5 years ago

also having this issue in Riot -- guess it's time to disable tern and find out how much I use it

Zireael commented 5 years ago

Video showing the issue (editing Vue components/JS):

https://streamable.com/vw1qn

fonziemedia commented 5 years ago

Same here, not using Vue

axelrindle commented 5 years ago

I receive this error when modifying a .blade.php file... could be of some interest :man_shrugging:

Esskimo commented 5 years ago

Same here. Got this error when using Handlebars or Vue.

CalvinD3v commented 5 years ago

I just disabled a package called atom-ternjs and it stopped popping out .

axelrindle commented 5 years ago

@CalvinD3v disabling the package causing the issue is not an option here :thinking:

CalvinD3v commented 5 years ago

@axelrindle you actually right it's back again for some reasons.

rubenish commented 5 years ago

Hi, i get the same error of "UncaughtException: TypeError: Cannot read property 'getProp' of undefined. " when i try to change the javascript code of a HTML document, but when i modify the code of a JS File i don't get the error... Maybe this error is caused by a problem plugin with javascript code out of the js file?

DevAnuragGarg commented 5 years ago

Same here.

pixelpaulaus commented 5 years ago

very anoying

Gaffen commented 5 years ago

Also getting the issue when editing pretty much any file

spookyvert commented 5 years ago

I'm getting it when using react on Atom

sebmor commented 5 years ago

Same here, very annoying

pkonnov commented 5 years ago

off ternjs )))

ruben-ksdm commented 5 years ago

Same here... Get this error just when editing .tmpl files (HTML).

colorwebdesigner commented 5 years ago

Same here while editing html files

EidarousDev commented 5 years ago

Disabling ternjs package seems to be a temporary solution.

axelrindle commented 5 years ago

@EidarousDev as I already said, disabling the causing package is no solution to the problem, as it also disables the functionality that people install the package for.

axelrindle commented 5 years ago

Also, the issue seems to be caused by ternjs itself, as a grep for 'getProp' in atom-ternjs and tern results in the following output

https://pastebin.com/azSZ8iuE

arstrel commented 5 years ago

Same problem when editing JS inside HTML file. UncaughtException: TypeError: Cannot read property 'getProp' of undefined. Restarting Server...

Any solution yet? Besides disabling the package?

vpiskunov commented 5 years ago

Still happening - 2 years later... Just started happening a month or two ago... any fix?

arstrel commented 5 years ago

No, I have not found a solution. I switched to VSCode a while ago. Best thing ever

On Mon, Jun 10, 2019, 2:58 AM Vladyslav Piskunov notifications@github.com wrote:

Still happening - 2 years later... Just started happening a month or two ago... any fix?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tststs/atom-ternjs/issues/328?email_source=notifications&email_token=ALSQ4UNTU3IH43ETY6VI223PZX3RLA5CNFSM4DWVZYA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJCX3Y#issuecomment-500313071, or mute the thread https://github.com/notifications/unsubscribe-auth/ALSQ4UIV3Y7BL5UX2P3RTY3PZX3RLANCNFSM4DWVZYAQ .

last-partizan commented 5 years ago

Looks like ternjs error.

And i made pull request to fix it.

cloudop commented 5 years ago

Looks like ternjs error.

And i made pull request to fix it.

Thanks!!!

last-partizan commented 5 years ago

Crash should be fixed in next minor release of tern, but atom-ternjs should not send full vue file to tern. It should send only javascript part.

qianyinghuanmie commented 5 years ago

same here,I will switch to VSCode。

Steve-Hsu commented 5 years ago

same here, I only code HTML.

UziTech commented 5 years ago

@tststs according to https://github.com/ternjs/tern/pull/1023#issuecomment-509675613 the issue is that atom-ternjs sends more than just javascript to ternjs.

GreatTyrion commented 4 years ago

I am using node.js and ejs in Atom. The issue was removed when I updated four packages: atom-ternjs, linter, linter-jshint, linter-ui-default.