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

Error with Java compile due to VSCode Null Analysis needed in settings.json #12

Open
Vonnie opened this issue Sep 7, 2023 · 0 comments

Comments

@Vonnie
Copy link

Vonnie commented Sep 7, 2023

Received warning
warning [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

Yesterday, I used this process 4-5x during video lesson. All were great. Today, half day spent trying to get my app setup without adding code. I kept getting Kotlin compile does not agree with Java. I'm not sure if this babel-eslint has caused my error or memory draining Android Studio emulator. File explorer would not allow rename this app for permissions. After one setup worked a couple of times, then the next launch actually got a blue screen.

After a few restarts and re-builds and without Android Studio, the last one seems works. Although, one thing I did differently. when vscode came up, it asks to enable nullAnalysis. Every time, I replied no or closed the message. This time I enabled yes. This created a settings.json before I could add one. I merged it with yours. The nullAnalysis setting is "java.compile.nullAnalysis.mode": "automatic". Kind of points to a compile problem and nulls do cause blue screens. It is something new that may affect your setup.

My app appears to be working. I did an navigation install, re-arranged folders. Was not able to get pass that before. Thought you may need to know this.

Before I found your article, I had impossible prettier/eslint errors for days.

Thanks for your help.

@Vonnie Vonnie changed the title yarn add -D babel-eslint warning Error with compiles due to VSCode Null Analysis needed in settings.json Sep 8, 2023
@Vonnie Vonnie changed the title Error with compiles due to VSCode Null Analysis needed in settings.json Error with Java compile due to VSCode Null Analysis needed in settings.json Sep 8, 2023
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

1 participant