Vite Build is not working #9088
-
Describe the bugHello! When i host the html with Live Server it says how can i solve this? Reproductionhttps://github.com/Backlang-Team/docs System InfoSystem:
OS: Windows 10 10.0.22000
CPU: (8) x64 AMD Ryzen 5 3400G with Radeon Vega Graphics
Memory: 5.14 GB / 13.92 GB
Binaries:
Node: 16.13.2 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.13.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.49)
Internet Explorer: 11.0.22000.120
npmPackages:
vite: ^2.9.9 => 2.9.14 Used Package Manageryarn LogsNo response Validations
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 17 replies
-
This is because Chrome blocks requests with file protocol for security reasons.
This is because your server is not responding with the correct mime type. (CSS files should have |
Beta Was this translation helpful? Give feedback.
This is because Chrome blocks requests with file protocol for security reasons.
This is because your server is not responding with the correct mime type. (CSS files should have
text/css
.)