ScottyB / ac-js2

Javascript auto-completion in Emacs using Js2-mode's parser and Skewer-mode.
123 stars 8 forks source link

Error: No JavaScript AST available #25

Open alissonperez opened 7 years ago

alissonperez commented 7 years ago

Hi Guys!

I'm with some problem using ac-js2, while I'm coding js and I try to use auto complete the following error happens:

Ac-Js2 mode enabled in current buffer
Error running timer ‘ac-update-greedy’: (error "No JavaScript AST available") [2 times]
Error running timer ‘ac-show-menu’: (error "No JavaScript AST available")

Someone knows what can be?

My emacs version: GNU Emacs 25.1.1 (x86_64-apple-darwin15.0.0, NS appkit-1404.11 Version 10.11 (Build 15A284)) of 2016-10-03

zenzjtech commented 7 years ago

I am encountering the same issue.

Ac-js2 is a great mode, I enjoy it and its supplementary packages. This issue is a troublesome one in the sense that it frequently freezes my Emacs for several seconds. I am a newbie in Emacs, thus debugging this issue is currently beyond my reach.

I hope that this issue will be resolved soon.