Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetBeans 8.2, JHipster (Maven) and TypeScript plugin #134

Open
aleksandarcajic opened this issue Mar 7, 2018 · 2 comments
Open

NetBeans 8.2, JHipster (Maven) and TypeScript plugin #134

aleksandarcajic opened this issue Mar 7, 2018 · 2 comments

Comments

@aleksandarcajic
Copy link

Hi!
I have really strange issue with Netbeans and TypeScript plugin.
Already I've noticed existing posts about this topic and I was hopping that this latest version of the plugin will solve my issue too but without success.

Environment specification:

  • Linux (xubuntu 16.04)
  • Java8 (Oracle)
  • NodeJS 8.9.4
  • Yarn 1.5.1
  • Netbeans 8.2
  • TypeScript plugin 2.7.2.0

Plugin worked only first time after installation of NodeJS, Yarn and generating JHipster Angular 5/JavaEE project. Only that time I had no issue with TS files and everything was fine, and I followed step by step tutorial how to generate project and configure TypeScript plugin.

After first restart of the OS, Netbeans stops working properly with TS files and in general with TypeScript. I've tried many things to fix this issue but without success.

I've tried to move tsconfig.json file into another folders of opened project and to close Netbeans and start it again. I have tried with Netbeans re-installation and plugin re-installation (downgrading versions), nothing helped.

What I have noticed is, if I just rename tsconfig.json into tsc.json file Netbean will show all properties in Navigator without issue and syntax error will not be shown. But this didn't helped with TS files though.
Also, in case Netbeans was ran by root user TypeScript plugin will run properly (it seems) but in that case rest parts of a project will not be fine.

image

image

If you have any idea or a solution how to solve this issue, I will appreciated that a lot!
@jeffrey-easyesi thank you in advance!
Best!

@nico0756
Copy link

I have exactly the same problem! The only difference is that I'm running on Windows 10.
If I open my web app as a separate project everything works fine, so I'm pretty sure this happens because the plugin can't find the tsconfig.json file in the maven project tree.

@Rycochet
Copy link

I've had (different) problems with NetBeans in the past due to file permissions etc - it was several years ago now, but uninstalling and reinstalling Java and NetBeans completely seemed to fix it.

My issues were almost completely to do with "working perfectly until it was quit and restarted" - so related in that sense only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants