presite icon indicating copy to clipboard operation
presite copied to clipboard

Failed to load resource: net::ERR_FAILED

Open mesqueeb opened this issue 4 years ago • 3 comments

Dear @egoist I always get an error:

Failed to load resource: net::ERR_FAILED

for any content coming from my public folder and even CSS files.

> Executing task: npm run build <


> @cc/[email protected] build
> vue-tsc --noEmit && vite build && presite ./dist

vite v2.4.3 building for production...
✓ 11 modules transformed.
dist/index.html                  0.48kb
dist/assets/index.04023d7f.css   0.29kb / brotli: 0.16kb
dist/assets/index.b1778f7c.js    0.54kb / brotli: 0.37kb
dist/assets/vendor.69fd73e7.js   43.33kb / brotli: 15.67kb
Copy static assets
Crawling contents from http://localhost:54661/
Message from http://localhost:54661/assets/index.04023d7f.css:undefined:undefined Failed to load resource: net::ERR_FAILED
Message from http://localhost:54661/logo-wordmark.svg:undefined:undefined Failed to load resource: net::ERR_FAILED
Writing /index.html for /
Done, check out .presite folder

Terminal will be reused by tasks, press any key to close it.

Any idea why?

mesqueeb avatar Jul 23 '21 08:07 mesqueeb

same, can't figure it out

Shubhaankar-Sharma avatar Aug 31 '21 06:08 Shubhaankar-Sharma

need help

Davont avatar Aug 29 '22 18:08 Davont

I also get this error when trying to generate

Writing /index.html for /
Message from http://localhost:38757/assets/index-3e3c2402.css:undefined:undefined Failed to load resource: net::ERR_FAILED
Message from http://localhost:38757/assets/index-3e3c2402.css:undefined:undefined Failed to load resource: net::ERR_FAILED
Message from http://localhost:38757/assets/index-3e3c2402.css:undefined:undefined Failed to load resource: net::ERR_FAILED
# rest of errors

however, it seems no problem arose from the generated assets

EDIT: it failed to create html, only js and css (basically still an SPA)

jfvillablanca avatar Oct 27 '23 04:10 jfvillablanca