atom-ternjs icon indicating copy to clipboard operation
atom-ternjs copied to clipboard

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

Open axe-z opened this issue 6 years ago • 43 comments

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

axe-z avatar Aug 12 '17 16:08 axe-z

Same here...

ibio avatar Mar 13 '18 19:03 ibio

Same! Really annoying

TroublemakerSt avatar Aug 13 '18 11:08 TroublemakerSt

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

tststs avatar Mar 03 '19 17:03 tststs

Me too! Too annoying...

xiersa avatar Mar 06 '19 06:03 xiersa

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

Altamill avatar Mar 06 '19 07:03 Altamill

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

marcobelo avatar Mar 08 '19 03:03 marcobelo

Same here. Using Vue too.

CristianaPereira avatar Mar 13 '19 10:03 CristianaPereira

Same here but not use vue

aielloine avatar Mar 15 '19 15:03 aielloine

same here, coding .vue, it really annoying

Cobatkao avatar Mar 21 '19 11:03 Cobatkao

any solution?

ednilsonamaral avatar Mar 26 '19 18:03 ednilsonamaral

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

torlun avatar Mar 27 '19 13:03 torlun

Same Here, not using Vue

unoscar avatar Mar 28 '19 16:03 unoscar

Same Here, with Vue

capjuancode avatar Mar 28 '19 23:03 capjuancode

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

IanRr avatar Mar 30 '19 19:03 IanRr

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

https://streamable.com/vw1qn

Zireael avatar Apr 01 '19 22:04 Zireael

Same here, not using Vue

fonziemedia avatar Apr 03 '19 07:04 fonziemedia

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

axelrindle avatar Apr 03 '19 22:04 axelrindle

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

Esskimo avatar Apr 04 '19 14:04 Esskimo

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

CalvinD3v avatar Apr 08 '19 11:04 CalvinD3v

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

axelrindle avatar Apr 08 '19 15:04 axelrindle

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

CalvinD3v avatar Apr 09 '19 07:04 CalvinD3v

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?

rubenish avatar Apr 09 '19 21:04 rubenish

Same here.

DevAnuragGarg avatar Apr 16 '19 10:04 DevAnuragGarg

very anoying

pixelpaulaus avatar Apr 17 '19 01:04 pixelpaulaus

Also getting the issue when editing pretty much any file

Gaffen avatar Apr 18 '19 11:04 Gaffen

I'm getting it when using react on Atom

spookyvert avatar Apr 23 '19 20:04 spookyvert

Same here, very annoying

sebmor avatar Apr 26 '19 09:04 sebmor

off ternjs )))

pkonnov avatar Apr 29 '19 07:04 pkonnov

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

ruben-ksdm avatar Apr 29 '19 10:04 ruben-ksdm

Same here while editing html files

colorwebdesigner avatar Apr 30 '19 16:04 colorwebdesigner

Disabling ternjs package seems to be a temporary solution.

EidarousDev avatar May 08 '19 10:05 EidarousDev

@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 avatar May 08 '19 12:05 axelrindle

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

axelrindle avatar May 08 '19 13:05 axelrindle

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?

arstrel avatar May 14 '19 06:05 arstrel

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

vpiskunov avatar Jun 10 '19 06:06 vpiskunov

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 [email protected] 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 .

arstrel avatar Jun 10 '19 09:06 arstrel

Looks like ternjs error.

And i made pull request to fix it.

last-partizan avatar Jun 24 '19 14:06 last-partizan

Looks like ternjs error.

And i made pull request to fix it.

Thanks!!!

cloudop avatar Jun 27 '19 06:06 cloudop

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.

last-partizan avatar Jul 09 '19 19:07 last-partizan

same here,I will switch to VSCode。

qianyinghuanmie avatar Jul 24 '19 10:07 qianyinghuanmie

same here, I only code HTML.

Steve-Hsu avatar Aug 07 '19 03:08 Steve-Hsu

@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.

UziTech avatar Aug 07 '19 18:08 UziTech

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.

GreatTyrion avatar Mar 04 '20 23:03 GreatTyrion