admin管理员组文章数量:1306835
In JBoss Devstudio, I am getting this new "error" with Tern: Synchronizing script resources with tern server
. It's not really an error, but it's a process that occurs every single time I click in a JavaScript file. It's just spinning and freezes up the entire IDE. This has never happened to me before, and I was working on the project yesterday without any issues.
Does anyone know what the hell this is? There isn't really anything on Google except one post that says to upgrade.
In JBoss Devstudio, I am getting this new "error" with Tern: Synchronizing script resources with tern server
. It's not really an error, but it's a process that occurs every single time I click in a JavaScript file. It's just spinning and freezes up the entire IDE. This has never happened to me before, and I was working on the project yesterday without any issues.
Does anyone know what the hell this is? There isn't really anything on Google except one post that says to upgrade.
Share Improve this question edited Sep 30, 2015 at 13:21 UltraSonja asked Sep 30, 2015 at 13:03 UltraSonjaUltraSonja 8911 gold badge20 silver badges33 bronze badges 1-
1
I have this problem also. I wonder about Help->Installation Details, and then UNINSTALL the
JBoss Tools Java Standard Tools Tern.java Adapter
. Will that fix the problem? – John Henckel Commented Dec 12, 2016 at 19:18
3 Answers
Reset to default 3JBoss Devstudio integrates tern.java for JavaScript support. I think your problem is because that you have a lot of JavaScript files in your project (inside node_modules
or bower_ponents
) and tern.java tries to analyze your all JavaScript files, and it takes time.
In your case, you need to exclude folders like node_modules and to do that you must use a version of tern.java >= 1.0.0 which support include/exclusion pattern path.
To deal with this problem, open your workspace and drop the folder, like E:\eclipse\workspace\.metadata\.plugins\tern.eclipse.ide.server.nodejs.embed.win32.win32.x86_64
, the node.exe
in it is the point.
I resolved this issue by simply eliminating the built in js files from path.
- I removed this from validations '**/node_modules/*,**/bower_ponents/*'. (If it even didn't resolve)Go to Properties of the project > JavaScript > Include Path > Validation
OR
- Go to Properties of the project > JavaScript > Include Path > Source and remove the whole project. Click on "Add Folder" and give the required path for your JS. Like projectname/src/pages.
本文标签: javascriptTern Synchronizing script resources with tern serverStack Overflow
版权声明:本文标题:javascript - Tern: Synchronizing script resources with tern server - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741808419a2398646.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论