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

Failed to load resource: net::ERR_FAILED #132

Open
mesqueeb opened this issue Jul 23, 2021 · 3 comments
Open

Failed to load resource: net::ERR_FAILED #132

mesqueeb opened this issue Jul 23, 2021 · 3 comments

Comments

@mesqueeb
Copy link

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/web-auth-redirect@0.0.0 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?

@Shubhaankar-Sharma
Copy link

same, can't figure it out

@Davont
Copy link

Davont commented Aug 29, 2022

need help

@jfvillablanca
Copy link

jfvillablanca commented Oct 27, 2023

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)

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