You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
This discussion was converted from issue #16670 on May 14, 2024 06:27.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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)
Reproduction
npm run build
Steps to reproduce
run npm run build and open your app in the web server
System Info
Used Package Manager
npm
Logs
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions