llamacoder
llamacoder copied to clipboard
Error in Generation of test app
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(' ') .
getting error, in code for a given query!!
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
- Instructing LLM to not use external packages or
- Replace Sandpack with StackBlitz. (I'm leaning for this option)
@Nutlope Do you have any timeline for this update?