Closed Jazzykhan closed 4 months ago
When i add: CheckJs in jsConfig.json it is showing to import from clerk after doing command + . on the useUser() but crashed my project with lots of errors/warnings.
Hey there! We're so sorry to hear about the Intellisense issues you're running into here. This sounds super frustrating for sure. Unfortunately, there isn't much we're able to do about this, as intellisense is something that comes with VS Code, and not with Clerk. We'd recommend reaching out perhaps to VS Code support to see if they are able to help you out here.
Preliminary Checks
[X] I have reviewed the documentation: https://clerk.com/docs
[X] I have searched for existing issues: https://github.com/clerk/javascript/issues
[X] I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
[X] This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
https://github.com/Jazzykhan/my-app
Publishable key
pk_test_ZmFpci1hbGJhY29yZS00MC5jbGVyay5hY2NvdW50cy5kZXYk
Description
Steps to reproduce:
Step 1: Create a new next project with npx create-next-app@latest Use javascript, Don't use src dir. use App dir. Import alias default.
Step 2: Once the project is running add clerk in package.json for nextjs project. Then in any file try to add useUser() or SignInButton, isLoaded, IsSingnedIn etc in the return statement and it will not show the auto-import/complete/fill option which i was able to get 2 days ago. I just reinstalled my macos completly and it is still not showing me auto import or intellisense options even with tailwind css, any node-modules package is not being able to show in auto-complete option or i don't know what to call it: Please check the screenshot below.
Expected behavior:
When i start Typing <SignInB : It should show me the auto import options (SignInButton) from ClerkJs.
Actual behavior: It doesnt show anything even on of the top of the file when i try to import it like this:
import { SignedIn, } from "@clerk/nextjs";
After the comma in {SignedIn) i am not able to add SignInButton.
Environment