404 found showing for main.js and vendor.js and vendor.css #13914
Unanswered
code-god-rajesh
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Can you create reproducible test repo? It is not readable try to help you using screenshots |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug report
What is the current behavior?
When hitting below url or click the router links the page loads properly
![image](https://user-images.githubusercontent.com/60088266/127769337-03eafdd8-8ff3-4562-9035-64506d8b5aba.png)
Opened the below page by clicking link
![image](https://user-images.githubusercontent.com/60088266/127769360-44a7eba4-b816-4d55-a25e-740bb537e020.png)
after refreshing the page by clicking F5 getting below error and the page failed to load
![image](https://user-images.githubusercontent.com/60088266/127769392-b2a8dadc-0431-47c9-80ad-ed0f10451df1.png)
What I founded for this issue ?
if the url is http://localhost:3000/ or http://localhost:3000/questions or anything clicked by the link
Below are the request url for vendor.css, main.js, vendor.js
http://localhost:3000/assets/vendor.css
http://localhost:3000/main.d003daf837b8b564b8e3.js
http://localhost:3000/vendor.f0f69021a559e1792348.js
if the url is http://localhost:3000/questions/10 and try to refresh the page
Below are the request url for vendor.css, main.js, vendor.js
http://localhost:3000/questions/assets/vendor.css
http://localhost:3000/questions/main.d003daf837b8b564b8e3.js
http://localhost:3000/questions/vendor.f0f69021a559e1792348.js
If the current behavior is a bug, please provide the steps to reproduce.
webpack.config.js
Folder structure like below
![image](https://user-images.githubusercontent.com/60088266/127769572-be1a2965-1e7d-4f65-a34b-79d55720acb7.png)
Start script
![image](https://user-images.githubusercontent.com/60088266/127769646-37fc8e78-87bf-4721-b7aa-7e9a4835f7f0.png)
2. Favicon is not showing in the browser tab
![image](https://user-images.githubusercontent.com/60088266/127769677-757d4598-268c-44c6-b9df-a456147632cf.png)
Favicon location
What is the expected behavior?
The page has to load properly at any cost
Other relevant information:
webpack version: "^5.47.1"
Node.js version:
Operating System: Windows
Additional tools:
Thanks is Advance
Beta Was this translation helpful? Give feedback.
All reactions