llamacoder icon indicating copy to clipboard operation
llamacoder copied to clipboard

"Something went wrong" Error while running locally

Open kuntal-c opened this issue 1 year ago • 4 comments

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Screenshot 2024-08-04 at 2 20 51 PM

kuntal-c avatar Aug 04 '24 18:08 kuntal-c

@kuntal-c I am getting the same thing I removed the .example part of the .example.env so the .env can be found in the compile and it seams to have worked.

kyme1 avatar Aug 04 '24 23:08 kyme1

I already renamed that file to .env and put all the keys in that file, but still the same issue 😩

Get Outlook for iOShttps://aka.ms/o0ukef


From: kyme1 @.> Sent: Sunday, August 4, 2024 7:07:49 PM To: Nutlope/llamacoder @.> Cc: Kuntal @.>; Mention @.> Subject: Re: [Nutlope/llamacoder] "Something went wrong" Error while running locally (Issue #9)

@kuntal-chttps://github.com/kuntal-c I am getting the same thing I removed the .example part of the .example.env so the .env can be found in the compile and it seams to have worked.

— Reply to this email directly, view it on GitHubhttps://github.com/Nutlope/llamacoder/issues/9#issuecomment-2267880857, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABSYVINVWC4IB2SBMPQGOPDZP2X4LAVCNFSM6AAAAABL7BMH66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXHA4DAOBVG4. You are receiving this because you were mentioned.Message ID: @.***>

kuntal-c avatar Aug 04 '24 23:08 kuntal-c

Yeah got the same error trying to use the Groq API as well.

TheLocalLab avatar Aug 05 '24 13:08 TheLocalLab

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Screenshot 2024-08-04 at 2 20 51 PM

if you simply copy paste the error it resolve the issue (Temporary solution)

hanii090 avatar Aug 08 '24 08:08 hanii090