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 in Generation of test app #46

Open
WANI12 opened this issue Nov 20, 2024 · 2 comments
Open

Error in Generation of test app #46

WANI12 opened this issue Nov 20, 2024 · 2 comments

Comments

@WANI12
Copy link

WANI12 commented Nov 20, 2024

error Something went wrong /App.tsx: Could not find dependency: '@headlessui/react' relative to '/App.tsx' (2:0) 1 | import React, { useState } from 'react'; > 2 | import { Tab } from '@headlessui/react'; ^ 3 | 4 | function classNames(...classes: string[]) { 5 | return classes.filter(Boolean).join(' ') .

@sriramsowmithri9807
Copy link

getting error, in code for a given query!!

@SteppeScript
Copy link

This happens as the code generated uses external packages and those packages are not available in Sandpack environment. This issue will be resolved by either

  1. Instructing LLM to not use external packages or
  2. Replace Sandpack with StackBlitz. (I'm leaning for this option)

@Nutlope Do you have any timeline for this update?

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