question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to load resource: the server responded with a status of 404 (Not Found) app.c2115832.js:1

See original GitHub issue

I use ‘vue ui’ and create project . I run the build command without changing anything. When I run the index.html file from the generated dist folder, I get a few errors in the console

Failed to load resource: the server responded with a status of 404 (Not Found)
app.c2115832.js:1 
Failed to load resource: the server responded with a status of 404 (Not Found)
chunk-vendors.fb29d323.js:1 
Failed to load resource: the server responded with a status of 404 (Not Found)
app.c2115832.js:1 
Failed to load resource: the server responded with a status of 404 (Not Found)
app.8d0d60ac.css:1 
Failed to load resource: the server responded with a status of 404 (Not Found)

the files are in the folder

dist
| - index.html
| - favicon.ico
|  css
|  | - app.8d0d60ac.css
|  js
|  | - app.c2115832.js
|  | - app.c2115832.js.map
|  | - chunk-vendors.fb29d323.js
|  | - chunk-vendors.fb29d323.js.map
|  img
|  | - logo.82b9c7a5.png

do I have to make extra adjustments?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

15reactions
yyx990803commented, Jul 26, 2018

Use baseUrl: '' in that case.

4reactions
arfrixcommented, Dec 15, 2019

just add this line on vue.config.js publicPath: ‘’

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to load resource: the server responded with a status of ...
I was getting an error - "Failed to load resource: the server responded with a status of 404 (NOT FOUND)". This solution worked...
Read more >
Failed to load resource: the server responded with ... - STechies
The error is raised when the website is unable to load the CSS and the JavaScript code. This makes the site non-functioning and...
Read more >
Error Failed to load resource the server responded with a ...
Error Failed to load resource the server responded with a status of 404 Not Found.
Read more >
Failed to Load Resource: The Server ... - One Computer Guy
Failed to load resource: the server responded with a status of 404 (not found) error is fixed by properly linking JS and CSS...
Read more >
Failed to Load Resource: The Server Responded With a ...
The error code that states failed to load resource: the server responded with a status of 404 () occurs when your website fails...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found