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

Compilation error during build #502

Open
arun2k17 opened this issue Dec 31, 2024 · 4 comments
Open

Compilation error during build #502

arun2k17 opened this issue Dec 31, 2024 · 4 comments

Comments

@arun2k17
Copy link

arun2k17 commented Dec 31, 2024

I am getting a compilation error when pulling the main branch locally and running it.

error during build:
Could not resolve "/client/pages/index.jsx" from "../../../../:routes.js"
file: /:routes.js

I could not find the file routes.js in the source

@akayalEC
Copy link

akayalEC commented Jan 2, 2025

I am also getting following same error...

node server.js --dev

4:52:55 pm [vite] Pre-transform error: Failed to load url ./Amit/opencv-realtime_console/openai-realtime-console/C:/Amit/opencv-realtime_console/openai-realtime-console/client/pages/index.jsx (resolved id: ./Amit/opencv-realtime_console/openai-realtime-console/C:/Amit/opencv-realtime_console/openai-realtime-console/client/pages/index.jsx) in /:routes.js. Does the file exist?
4:52:55 pm [vite] Error when evaluating SSR module /:routes.js:
|- Error: Failed to load url ./Amit/opencv-realtime_console/openai-realtime-console/C:/Amit/opencv-realtime_console/openai-realtime-console/client/pages/index.jsx (resolved id: ./Amit/opencv-realtime_console/openai-realtime-console/C:/Amit/opencv-realtime_console/openai-realtime-console/client/pages/index.jsx) in /:routes.js. Does the file exist?
at loadAndTransform (file:///C:/Amit/opencv-realtime_console/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:51920:17)
at async instantiateModule (file:///C:/Amit/opencv-realtime_console/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52874:44)

4:52:55 pm [vite] Error when evaluating SSR module C:\Amit\opencv-realtime_console\openai-realtime-console\client\index.js:
|- Error: Failed to load url ./Amit/opencv-realtime_console/openai-realtime-console/C:/Amit/opencv-realtime_console/openai-realtime-console/client/pages/index.jsx (resolved id: ./Amit/opencv-realtime_console/openai-realtime-console/C:/Amit/opencv-realtime_console/openai-realtime-console/client/pages/index.jsx) in /:routes.js. Does the file exist?
at loadAndTransform (file:///C:/Amit/opencv-realtime_console/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:51920:17)
at async instantiateModule (file:///C:/Amit/opencv-realtime_console/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52874:44)

node:internal/modules/run_main:122
triggerUncaughtException(
^

Error: Failed to load url ./Amit/opencv-realtime_console/openai-realtime-console/C:/Amit/opencv-realtime_console/openai-realtime-console/client/pages/index.jsx (resolved id: ./Amit/opencv-realtime_console/openai-realtime-console/C:/Amit/opencv-realtime_console/openai-realtime-console/client/pages/index.jsx) in /:routes.js. Does the file exist?
at loadAndTransform (file:///C:/Amit/opencv-realtime_console/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:51920:17)
at async instantiateModule (file:///C:/Amit/opencv-realtime_console/openai-realtime-console/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52874:44) {
code: 'ERR_LOAD_URL'
}

@giannik
Copy link

giannik commented Jan 4, 2025

same here

@mark-pearson-bluefruit
Copy link

I am also getting this error

@mark-pearson-bluefruit
Copy link

Also, similar error at #497

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

4 participants