-
Notifications
You must be signed in to change notification settings - Fork 924
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
npm run dev with Path ERROR !!! #497
Comments
I met the same error ! |
Same error. |
Yes - Windows 11 for me - same error |
same error for me. Could this be a windows compatibility issue? I'm not too well versed with react, vite, or fastify but it looks like it's trying to load Which is some duplication error, where it's attaching the absolute path to the relative path for some reason. |
No, it just not set up correctly. It is trying to import files that do not exist. Updating ./client/index.js allows the server to run, but does not render any of the HTML.
|
I take back my previous comments lol... there are definitely path issues with windows related to the Fastify package fastify/fastify-vite#150 |
Same issue and also using windows |
Hi all, If you are having issues with this version using Fastify, I forked this and created a new version using Express https://github.com/bloodlinealpha/openai-realtime-console. Just add a .env file to the root with your API key, run |
Thanks! I'll give this a try. |
potentially related, maybe separate issue, so for now I made it separate: |
It's missing features that are in this one, look at screenshots/screencasts:
In particular:
Other wish I would love to have is: Also what would be nice, is ability to switch on/off "Server turn detection" like in https://platform.openai.com/playground/realtime . I wonder why OpenAI does not publish proper running properly base code, with Dockerfiles etc, that has feature parity to their playground: https://platform.openai.com/playground/realtime , so we could keep features we need and cut out rest... that's topic for another thread , let's get it running in this one :). |
same problem here! windows 10 |
Is there a solution? Windows 11 also reported the same error. |
Same here. |
(base) PS D:_SourceCode\VsCode\openai-realtime-console> npm run dev
11:16:32 [vite] Pre-transform error: Failed to load url ./_SourceCode/VsCode/openai-realtime-console/D:/_SourceCode/VsCode/openai-realtime-console/client/pages/index.jsx (resolved id: ./_SourceCode/VsCode/openai-realtime-console/D:/_SourceCode/VsCode/openai-realtime-console/client/pages/index.jsx) in /:routes.js. Does the file exist?
11:16:32 [vite] Error when evaluating SSR module /:routes.js:
|- Error: Failed to load url ./_SourceCode/VsCode/openai-realtime-console/D:/_SourceCode/VsCode/openai-realtime-console/client/pages/index.jsx (resolved id: ./_SourceCode/VsCode/openai-realtime-console/D:/_SourceCode/VsCode/openai-realtime-console/client/pages/index.jsx) in /:routes.js. Does the file exist?
at loadAndTransform (file:///D:/_SourceCode/VsCode/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:51920:17)
at async instantiateModule (file:///D:/_SourceCode/VsCode/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52874:44)
11:16:32 [vite] Error when evaluating SSR module D:_SourceCode\VsCode\openai-realtime-console\client\index.js:
|- Error: Failed to load url ./_SourceCode/VsCode/openai-realtime-console/D:/_SourceCode/VsCode/openai-realtime-console/client/pages/index.jsx (resolved id: ./_SourceCode/VsCode/openai-realtime-console/D:/_SourceCode/VsCode/openai-realtime-console/client/pages/index.jsx) in /:routes.js. Does the file exist?
at loadAndTransform (file:///D:/_SourceCode/VsCode/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:51920:17)
at async instantiateModule (file:///D:/_SourceCode/VsCode/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52874:44)
node:internal/modules/run_main:129
triggerUncaughtException(
^
Error: Failed to load url ./_SourceCode/VsCode/openai-realtime-console/D:/_SourceCode/VsCode/openai-realtime-console/client/pages/index.jsx (resolved id: ./_SourceCode/VsCode/openai-realtime-console/D:/_SourceCode/VsCode/openai-realtime-console/client/pages/index.jsx) in /:routes.js. Does the file exist?
at loadAndTransform (file:///D:/_SourceCode/VsCode/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:51920:17)
at async instantiateModule (file:///D:/_SourceCode/VsCode/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52874:44) {
code: 'ERR_LOAD_URL'
}
Node.js v20.16.0
The text was updated successfully, but these errors were encountered: