-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 during build: Could not resolve "./openai-realtime-console/C:/openai-realtime-console/client/pages/index.jsx" from "../../:routes.js" file: /:routes.js #509
Comments
Also, be kind. I'm not a dev but I'm finding my way through. I'm sure there's a clear answer but I have exhausted all of my avenues. |
I am facing the same problem |
@AlanNunes I'm still actively looking for a solution to this. I will update as soon as I get a fix. |
Is it windows problem? |
I am experiencing this issue too. I tried spinning up a WSL to test on Linux and ran into similar build issues. Please advise. |
Just did a clone, created .env file with key and installed vite, on Windows Server: added 348 packages, and audited 349 packages in 9s 85 packages are looking for funding found 0 vulnerabilities C:\Dev\openai-realtime-console>npm run build
vite v5.4.14 building for production... |
Hi there - we've just updated the console app to use a combination of Express and Vite that runs on both Mac and Windows. Please check out the latest version and see if it works for you. Thanks for your patience! |
Vite issue:
When running in windows 10, in visual code studio, I get the error of duplicated path and it can't run in dev mode.
PS C:\openai-realtime-console> npm run build
vite v5.4.11 building for production...
✓ 13 modules transformed.
x Build failed in 364ms
error during build:
Could not resolve "./openai-realtime-console/C:/openai-realtime-console/client/pages/index.jsx" from "../../:routes.js"
file: /:routes.js
at getRollupError (file:///C:/openai-realtime-console/node_modules/rollup/dist/es/shared/parseAst.js:396:41)
at error (file:///C:/openai-realtime-console/node_modules/rollup/dist/es/shared/parseAst.js:392:42)
at ModuleLoader.handleInvalidResolvedId (file:///C:/openai-realtime-console/node_modules/rollup/dist/es/shared/node-entry.js:20088:24)
at file:///C:/openai-realtime-console/node_modules/rollup/dist/es/shared/node-entry.js:20048:26
PS C:\openai-realtime-console>
The text was updated successfully, but these errors were encountered: