Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Build error on windows server #16670

Closed
7 tasks done
raine1120 opened this issue May 13, 2024 · 0 comments
Closed
7 tasks done

Build error on windows server #16670

raine1120 opened this issue May 13, 2024 · 0 comments

Comments

@raine1120
Copy link

Describe the bug

when i build the application on windows server and run i get this error :

main-Cstcz-Pf.js:13 Error
at wr (main-Cstcz-Pf.js:35:6102)
at Object.c [as resolve] (main-Cstcz-Pf.js:35:10937)
at Object.b [as resolve] (main-Cstcz-Pf.js:35:18125)
at main-Cstcz-Pf.js:35:14307
at Ii.fn (main-Cstcz-Pf.js:9:9114)
at Ii.run (main-Cstcz-Pf.js:9:1517)
at get value (main-Cstcz-Pf.js:9:9359)
at main-Cstcz-Pf.js:35:14354
at Ii.fn (main-Cstcz-Pf.js:9:9114)
at Ii.run (main-Cstcz-Pf.js:9:1517)

in the case that i run in windows 11 is working properly.

also i notice that in the main js minified of the windows server. that file dont have this function and on windows 11 i have it :

__vite__mapDeps

Reproduction

npm run build

Steps to reproduce

run npm run build and open your app in the web server

System Info

windows server

Used Package Manager

npm

Logs

No response

Validations

@vitejs vitejs locked and limited conversation to collaborators May 14, 2024
@bluwy bluwy converted this issue into discussion #16673 May 14, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

1 participant