Skip to content
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

Open
QuicksilverSlick opened this issue Jan 11, 2025 · 3 comments

Comments

@QuicksilverSlick
Copy link

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

build
npm run build:client && npm run build:server

build:client
vite build --outDir dist/client --ssrManifest

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>

@QuicksilverSlick
Copy link
Author

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.

@AlanNunes
Copy link

I am facing the same problem

@QuicksilverSlick
Copy link
Author

@AlanNunes I'm still actively looking for a solution to this. I will update as soon as I get a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants