SamurAIGPT / Open-Custom-GPT

Create Custom GPT and add/embed on your site using Assistants api
https://customgpt.thesamur.ai
MIT License
1.52k stars 269 forks source link

Build - OpenAI package issue - Uncaught SyntaxError: Identifier 'Audio' has already been declared #24

Closed rafhofman closed 1 month ago

rafhofman commented 4 months ago

Hi,

Great projects, thanks! Was trying to do a production build of the next app, and used output:export option to provide just static files to serve via S3 (my use case allowed that, the assistant was already created and tweaked the app a little bit just to use embedded route). Anyways, was struggling after building with Uncaught SyntaxError: Identifier 'Audio' has already been declared error in the console. Found this gem:

https://github.com/openai/openai-node/issues/603

FYI solved it by bumping the next package from 14.0.3 to 14.0.4 so we might do it also in the repo :)