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

Empty window #45

Closed
1 task done
shimizu-izumi opened this issue Jun 7, 2024 · 6 comments
Closed
1 task done

Empty window #45

shimizu-izumi opened this issue Jun 7, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@shimizu-izumi
Copy link
Contributor

What is the issue?

The plugin window inside the IDE is empty but I have a valid components.json file
image

What are the steps to reproduce this issue?

Setup a Next.js project with shadncn/ui, install the plugin, open the plugin window

What were you expecting to happen?

The window content should be what is seen on the plugin screenshots

Paste any relevant logs, error output, etc.

No response

What OS are you experiencing the problem on?

Windows

Additional platform information

No response

Duplicates

  • I have checked that my problem has not already been mentioned recently in an existing issue
@shimizu-izumi shimizu-izumi added the bug Something isn't working label Jun 7, 2024
@WarningImHack3r
Copy link
Owner

Hi there, sorry for the inconvenience. Can you please send me the logs? To do so:

  1. Enable my plugin's debug logs by setting the line below in Help > Diagnostic Tools > Debug Log Settings…:
#com.github.warningimhack3r.intellijshadcnplugin
  1. Restart your IDE, wait until your problem occurs and open the idea.log file you find by going to Help > Show Log in Explorer
  2. In there, if you can send me the 50-ish lines before the end, I could try to diagnose your issue more precisely!

@WarningImHack3r
Copy link
Owner

An empty window without crash is weird though, are you sure the plugin didn't (silently) crash? You can check that in the bottom right corner of the IDE in the bell icon (alert icon with your theme I guess)

@shimizu-izumi
Copy link
Contributor Author

It did crash silently while trying to read my tsconfig.json

@WarningImHack3r
Copy link
Owner

Oh then that seems a duplicate of #32, can you try removing comments temporarily from your tsconfig.json, reopening the IDE and see if you still got the issue?

@shimizu-izumi
Copy link
Contributor Author

That fixed the problem

@shimizu-izumi
Copy link
Contributor Author

Duplicate of #32

@WarningImHack3r WarningImHack3r closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants