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

Usage of @vscode/prompt-tsx in chat-sample #1085

Open
jdneo opened this issue Aug 21, 2024 · 3 comments
Open

Usage of @vscode/prompt-tsx in chat-sample #1085

jdneo opened this issue Aug 21, 2024 · 3 comments
Assignees

Comments

@jdneo
Copy link
Member

jdneo commented Aug 21, 2024

Extension sample

chat-sample

VS Code version

1.93.0-insider

What went wrong?

I saw @vscode/prompt-tsx is used in chat-sample.

But looks like this package only works when the node project does not have react(react & @types/react) modules installed.

Once react modules are installed, the prompt tsx files cannot be compiled anymore. Is there anyway to workaround this issue?

@catherinelee274
Copy link

+1 experienced the same thing @jdneo did you find a workaround ?

@Adam-it
Copy link

Adam-it commented Sep 26, 2024

+1 as well, this is the problem I experience in my case
image

@Adam-it
Copy link

Adam-it commented Nov 18, 2024

I saw this issue which seems very similar and seems to suggest the fix for this problem. I still need to try it out but I am posting it here as maybe it may already help someone else
microsoft/vscode-prompt-tsx#74

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

No branches or pull requests

5 participants